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 ccf153e

Browse files
StepFive: update PlaceControllerException.java
1 parent 0210cf2 commit ccf153e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎StepFive/src/main/java/me/oldboy/exception/place_exception/PlaceControllerException.java

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

3+
/**
4+
* Exception thrown in the controller layer when exceptional
5+
* situations occur when accessing the place entity: place not
6+
* found, place does not exist, duplication create, etc.
7+
*
8+
* This exception extends {@link RuntimeException}, indicating
9+
* that the requested user was not found.
10+
*/
311
public class PlaceControllerException extends RuntimeException {
12+
/**
13+
* Creates a {@code PlaceControllerException} with a message describing the exception.
14+
* @param msg — a detailed message.
15+
*/
416
public PlaceControllerException(String msg) {
517
super(msg);
618
}

0 commit comments

Comments
(0)

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