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 3e56708

Browse files
StepFive: update NotValidArgumentException.java
1 parent 15e0fd0 commit 3e56708

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎StepFive/src/main/java/me/oldboy/exception/NotValidArgumentException.java

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

3+
/**
4+
* Exception raised when an invalid parameter is entered when creating a reserve.
5+
*
6+
* This exception extends {@link RuntimeException} to indicate that the entered
7+
* parameter is invalid, or a combination of both.
8+
*/
39
public class NotValidArgumentException extends RuntimeException {
10+
/**
11+
* Creates a {@code NotValidArgumentException} with a description of the exception.
12+
* @param msg — a detailed message.
13+
*/
414
public NotValidArgumentException(String msg) {
515
super(msg);
616
}

0 commit comments

Comments
(0)

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