mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-17 05:15:02 +00:00
more ASM work...
This commit is contained in:
7 files changed
+93
-4
No files matched your search
@@ -0,0 +1,7 @@
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
public class AsmClassNotFoundException extends AsmTransformException {
|
||||
public AsmClassNotFoundException(final String clazz) {
|
||||
super("can't find class " + clazz);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
public class AsmFieldNotFoundException extends AsmTransformException {
|
||||
public AsmFieldNotFoundException(final String field) {
|
||||
super("can't find field " + field);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
public class AsmMethodNotFoundException extends AsmTransformException {
|
||||
public AsmMethodNotFoundException(final String method) {
|
||||
super("can't find method " + method);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
public class AsmTransformException extends RuntimeException {
|
||||
public AsmTransformException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public AsmTransformException(final Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public AsmTransformException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user