diff options
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java index d84fefd..2d50623 100644 --- a/src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java +++ b/src/main/java/ftbsc/lll/exceptions/PatternNotFoundException.java @@ -4,14 +4,28 @@ package ftbsc.lll.exceptions; * Thrown when failing to find a pattern. */ public class PatternNotFoundException extends RuntimeException { + /** + * Constructs a new pattern not found exception with the specified detail message. + * @param message the detail message + */ public PatternNotFoundException(String message) { super(message); } + /** + * Constructs a new pattern not found exception with the specified detail message and cause. + * @param message the detail message + * @param cause the cause, may be null (indicating nonexistent or unknown cause) + */ public PatternNotFoundException(String message, Throwable cause) { super(message, cause); } + /** + * Constructs a new pattern not found exception with the specified cause and a + * detail message of {@code (cause==null ? null : cause.toString())} + * @param cause the cause, may be null (indicating nonexistent or unknown cause) + */ public PatternNotFoundException(Throwable cause) { super(cause); } |