mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-12 18:49:23 +01:00
chore: created exception for injection failures
This commit is contained in:
parent
0e2162ca48
commit
809939c502
1 changed files with 18 additions and 0 deletions
18
src/main/java/ftbsc/lll/exception/InjectionException.java
Normal file
18
src/main/java/ftbsc/lll/exception/InjectionException.java
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue