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 048eb57

Browse files
StepFive: update SlotServiceException.java
1 parent 9304ce0 commit 048eb57

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎StepFive/src/main/java/me/oldboy/exception/slot_exception/SlotServiceException.java‎

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

3+
/**
4+
* An exception is thrown in the service layer if incorrect actions
5+
* are performed when working with the slot entity, for example: slot
6+
* with id not found, slot 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 slot entity.
10+
*/
311
public class SlotServiceException extends RuntimeException {
12+
/**
13+
* Creates a {@code SlotServiceException} with a message describing the exception.
14+
* @param msg — a detailed message.
15+
*/
416
public SlotServiceException(String msg) {
517
super(msg);
618
}

0 commit comments

Comments
(0)

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