summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/ftbsc/lll/exception/InjectionException.java18
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