Skip to content

Commit 20901ad

Browse files
committed
Add JavaDocs for JctException constructors
1 parent 983d055 commit 20901ad

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctException.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,21 @@
2727
@API(since = "0.0.1", status = Status.STABLE)
2828
public abstract class JctException extends RuntimeException {
2929

30+
/**
31+
* Initialise the exception with a message.
32+
*
33+
* @param message the message to initialise the exception with.
34+
*/
3035
JctException(String message) {
3136
super(message);
3237
}
3338

39+
/**
40+
* Initialise the exception with a message and a cause.
41+
*
42+
* @param message the message to initialise the exception with.
43+
* @param cause the cause of the exception.
44+
*/
3445
JctException(String message, Throwable cause) {
3546
super(message, cause);
3647
}

0 commit comments

Comments
 (0)