more ASM work...

This commit is contained in:
FalsePattern committed 2022-07-25 21:10:54 +02:00
1 parent f12b7409bc
commit 1c1704e154
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);
}
}