diff options
author | zaaarf <zaaarf@proton.me> | 2023-02-07 13:39:37 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-02-07 13:39:37 +0100 |
commit | 809939c50264758ec4f30d58c2557f4f876f9b46 (patch) | |
tree | de829031ea6166b51cb7b000f2876b2d20244b23 /src/main | |
parent | 0e2162ca48d479238eb2665bf95fc6be9b39ed4d (diff) |
chore: created exception for injection failures
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/ftbsc/lll/exception/InjectionException.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exception/InjectionException.java b/src/main/java/ftbsc/lll/exception/InjectionException.java new file mode 100644 index 0000000..c8804f0 --- /dev/null +++ b/src/main/java/ftbsc/lll/exception/InjectionException.java @@ -0,0 +1,18 @@ +package ftbsc.lll.exception; + +/** + * Thrown when the injection of a patch fails. + */ +public class InjectionException extends RuntimeException { + public InjectionException(String message) { + super(message); + } + + public InjectionException(String message, Throwable cause) { + super(message, cause); + } + + public InjectionException(Throwable cause) { + super(cause); + } +}
\ No newline at end of file |