diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-04 15:18:21 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-04 15:18:21 +0100 |
commit | a3b33e66e8f3fef28058281fa5607118e04e7614 (patch) | |
tree | 3036eb70bdef3a11952b47dfa6c4654a8f970a72 /src/main/java/ftbsc/lll/exceptions/InjectionException.java | |
parent | 8983a271f851f0a369cff9bb01010f8d5ff58e2f (diff) |
doc: added missing javadocs0.3.2
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/InjectionException.java')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/InjectionException.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InjectionException.java b/src/main/java/ftbsc/lll/exceptions/InjectionException.java index d8809dd..3695a92 100644 --- a/src/main/java/ftbsc/lll/exceptions/InjectionException.java +++ b/src/main/java/ftbsc/lll/exceptions/InjectionException.java @@ -4,15 +4,30 @@ package ftbsc.lll.exceptions; * Thrown when the injection of a patch fails. */ public class InjectionException extends RuntimeException { + + /** + * Constructs a new injection exception with the specified detail message. + * @param message the detail message + */ public InjectionException(String message) { super(message); } + /** + * Constructs a new injection 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 InjectionException(String message, Throwable cause) { super(message, cause); } + /** + * Constructs a new injection 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 InjectionException(Throwable cause) { super(cause); } -}
\ No newline at end of file +} |