From cf537274eeeca41b4c097371e83afef1c2c544ca Mon Sep 17 00:00:00 2001 From: zaaarf Date: Mon, 27 Feb 2023 16:45:09 +0100 Subject: chore: renamed exception package to exceptions --- .../java/ftbsc/lll/exception/InjectionException.java | 18 ------------------ .../lll/exception/InstructionMismatchException.java | 19 ------------------- .../ftbsc/lll/exception/PatternNotFoundException.java | 18 ------------------ 3 files changed, 55 deletions(-) delete mode 100644 src/main/java/ftbsc/lll/exception/InjectionException.java delete mode 100644 src/main/java/ftbsc/lll/exception/InstructionMismatchException.java delete mode 100644 src/main/java/ftbsc/lll/exception/PatternNotFoundException.java (limited to 'src/main/java/ftbsc/lll/exception') diff --git a/src/main/java/ftbsc/lll/exception/InjectionException.java b/src/main/java/ftbsc/lll/exception/InjectionException.java deleted file mode 100644 index c8804f0..0000000 --- a/src/main/java/ftbsc/lll/exception/InjectionException.java +++ /dev/null @@ -1,18 +0,0 @@ -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 diff --git a/src/main/java/ftbsc/lll/exception/InstructionMismatchException.java b/src/main/java/ftbsc/lll/exception/InstructionMismatchException.java deleted file mode 100644 index 7dda1e6..0000000 --- a/src/main/java/ftbsc/lll/exception/InstructionMismatchException.java +++ /dev/null @@ -1,19 +0,0 @@ -package ftbsc.lll.exception; - -/** - * Thrown when attempting to build an InstructionSequence between two - * unconnected nodes. - */ -public class InstructionMismatchException extends RuntimeException { - public InstructionMismatchException(String message) { - super(message); - } - - public InstructionMismatchException(String message, Throwable cause) { - super(message, cause); - } - - public InstructionMismatchException(Throwable cause) { - super(cause); - } -} diff --git a/src/main/java/ftbsc/lll/exception/PatternNotFoundException.java b/src/main/java/ftbsc/lll/exception/PatternNotFoundException.java deleted file mode 100644 index e6d75b3..0000000 --- a/src/main/java/ftbsc/lll/exception/PatternNotFoundException.java +++ /dev/null @@ -1,18 +0,0 @@ -package ftbsc.lll.exception; - -/** - * Thrown when failing to find a pattern - */ -public class PatternNotFoundException extends RuntimeException { - public PatternNotFoundException(String message) { - super(message); - } - - public PatternNotFoundException(String message, Throwable cause) { - super(message, cause); - } - - public PatternNotFoundException(Throwable cause) { - super(cause); - } -} -- cgit v1.2.3-56-ga3b1