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.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java b/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
index b9e0d05..33c4b35 100644
--- a/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
+++ b/src/main/java/ftbsc/lll/exceptions/InstructionMismatchException.java
@@ -1,18 +1,34 @@
package ftbsc.lll.exceptions;
+import ftbsc.lll.tools.InsnSequence;
+
/**
- * Thrown when attempting to build an {@link ftbsc.lll.tools.InsnSequence} between two
+ * Thrown when attempting to build an {@link InsnSequence} between two
* unconnected nodes.
*/
public class InstructionMismatchException extends RuntimeException {
+ /**
+ * Constructs a new instruction mismatch exception with the specified detail message.
+ * @param message the detail message
+ */
public InstructionMismatchException(String message) {
super(message);
}
+ /**
+ * Constructs a new instruction mismatch exception with the specified detail message and cause.
+ * @param message the detail message
+ * @param cause the cause, may be null (indicating nonexistent or unknown cause)
+ */
public InstructionMismatchException(String message, Throwable cause) {
super(message, cause);
}
+ /**
+ * Constructs a new instruction mismatch exception with the specified cause and a
+ * detail message of {@code (cause==null ? null : cause.toString())}
+ * @param cause the cause, may be null (indicating nonexistent or unknown cause)
+ */
public InstructionMismatchException(Throwable cause) {
super(cause);
}