Skip to content

Commit 4d63c87

Browse files
committed
chore: cleaned up exceptions
1 parent f794ef2 commit 4d63c87

File tree

2 files changed

+2
-53
lines changed

2 files changed

+2
-53
lines changed

src/main/java/ftbsc/lll/exceptions/InjectionException.java

-33
This file was deleted.

src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java

+2-20
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,10 @@
55
*/
66
public class PatternNotFoundException extends RuntimeException {
77
/**
8-
* Constructs a new pattern not found exception with the specified detail message.
9-
* @param message the detail message
8+
* Constructs a new pattern not found exception with the given message.
9+
* @param message the given message
1010
*/
1111
public PatternNotFoundException(String message) {
1212
super(message);
1313
}
14-
15-
/**
16-
* Constructs a new pattern not found exception with the specified detail message and cause.
17-
* @param message the detail message
18-
* @param cause the cause, may be null (indicating nonexistent or unknown cause)
19-
*/
20-
public PatternNotFoundException(String message, Throwable cause) {
21-
super(message, cause);
22-
}
23-
24-
/**
25-
* Constructs a new pattern not found exception with the specified cause and a
26-
* detail message of {@code (cause==null ? null : cause.toString())}
27-
* @param cause the cause, may be null (indicating nonexistent or unknown cause)
28-
*/
29-
public PatternNotFoundException(Throwable cause) {
30-
super(cause);
31-
}
3214
}

0 commit comments

Comments
 (0)