summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InjectionException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/InjectionException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/InjectionException.java17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InjectionException.java b/src/main/java/ftbsc/lll/exceptions/InjectionException.java
index d8809dd..3695a92 100644
--- a/src/main/java/ftbsc/lll/exceptions/InjectionException.java
+++ b/src/main/java/ftbsc/lll/exceptions/InjectionException.java
@@ -4,15 +4,30 @@ package ftbsc.lll.exceptions;
* Thrown when the injection of a patch fails.
*/
public class InjectionException extends RuntimeException {
+
+ /**
+ * Constructs a new injection exception with the specified detail message.
+ * @param message the detail message
+ */
public InjectionException(String message) {
super(message);
}
+ /**
+ * Constructs a new injection 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 InjectionException(String message, Throwable cause) {
super(message, cause);
}
+ /**
+ * Constructs a new injection 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 InjectionException(Throwable cause) {
super(cause);
}
-} \ No newline at end of file
+}