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 603bdc6

Browse files
StepFive: update ReservationServiceException.java
1 parent 90a417a commit 603bdc6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎StepFive/src/main/java/me/oldboy/exception/reservation_exception/ReservationServiceException.java‎

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

3+
/**
4+
* Exception thrown from the service layer of the reservation
5+
* sequence in case of, for example: reservation not possible,
6+
* reservation not found, update not possible, etc.
7+
*
8+
* This exception extends {@link RuntimeException}, indicating
9+
* that an exception occurred in the service layer while working
10+
* with the reservation entity.
11+
*/
312
public class ReservationServiceException extends RuntimeException {
13+
/**
14+
* Creates a {@code ReservationServiceException} with a message describing the exception.
15+
* @param msg — a detailed message.
16+
*/
417
public ReservationServiceException(String msg) {
518
super(msg);
619
}

0 commit comments

Comments
(0)

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