From 809939c50264758ec4f30d58c2557f4f876f9b46 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 7 Feb 2023 13:39:37 +0100 Subject: [PATCH] chore: created exception for injection failures --- .../lll/exception/InjectionException.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/java/ftbsc/lll/exception/InjectionException.java 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