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 5d33cba

Browse files
StepFive: update PlaceServiceException.java
1 parent ccf153e commit 5d33cba

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/PlaceServiceException.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+
* An exception is thrown in the service layer if incorrect actions
5+
* are performed when working with the place entity, for example: place
6+
* with id not found, place with number not found, incorrect time range, etc.
7+
*
8+
* This exception extends {@link RuntimeException}, indicating that an
9+
* error occurred in the service layer when working with the place entity.
10+
*/
311
public class PlaceServiceException extends RuntimeException {
12+
/**
13+
* Creates a {@code PlaceServiceException} with a message describing the exception.
14+
* @param msg — a detailed message.
15+
*/
416
public PlaceServiceException(String msg) {
517
super(msg);
618
}

0 commit comments

Comments
(0)

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