Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 15e0fd0

Browse files
StepFive: update UserServiceException.java
1 parent 11ccaaf commit 15e0fd0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎StepFive/src/main/java/me/oldboy/exception/user_exception/UserServiceException.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
package me.oldboy.exception.user_exception;
22

3+
/**
4+
* Exception thrown from the service layer, in the thread handling
5+
* any requests for the user entity: user not found, e.g.
6+
*
7+
* This exception extends {@link RuntimeException}, indicating
8+
* exceptions in the service layer, e.g. user with the requested
9+
* id not found.
10+
*/
311
public class UserServiceException extends RuntimeException {
12+
/**
13+
* Creates a {@code UserServiceException} with a description of the exception.
14+
* @param msg — a detailed message.
15+
*/
416
public UserServiceException(String msg){
517
super(msg);
618
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /