Total Complexity | 1 |
Total Lines | 8 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.base.Exceptions; |
||
3 | public class UserNotFound extends BaseException { |
||
4 | /** |
||
5 | * Construct {@link UserNotFound} with User Slug and call the {@link BaseException} with Error Code |
||
6 | * |
||
7 | * @param personId User id of User |
||
8 | */ |
||
9 | public UserNotFound(String personId) { |
||
10 | super(404, "Person with id " + personId + " was not found."); |
||
11 | } |
||
13 |