chore: created exception for injection failures

This commit is contained in:
zaaarf 2023-02-07 13:39:37 +01:00
parent 0e2162ca48
commit 809939c502
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -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);
}
}