summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java b/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
new file mode 100644
index 0000000..7f3fe83
--- /dev/null
+++ b/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
@@ -0,0 +1,19 @@
+package ftbsc.lll.exceptions;
+
+/**
+ * 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);
+ }
+}