diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-08 15:37:17 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-08 15:37:17 +0100 |
commit | f6539d4a078e4cc37a56b9cdb548ba6a61a73b93 (patch) | |
tree | 47dfff577548d71e84e13b21120a1804626de8fe /src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java | |
parent | 51d9375e0bf42cc9342db9ee5f676988026b141b (diff) |
feat: initial implementation of new system
- multiple injectors/target
- removed strict limitation of one patch per class
- made finders far smarter
- added boolean for obfuscation environment (currently never changed from default)
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java new file mode 100644 index 0000000..5be3d77 --- /dev/null +++ b/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java @@ -0,0 +1,15 @@ +package ftbsc.lll.exceptions; + +/** + * Thrown upon failure to find an existing method from a stub. + */ +public class TargetNotFoundException extends RuntimeException { + + /** + * Constructs a new target not found exception for the specified method stub. + * @param stub the stub's name (and descriptor possibly) + */ + public TargetNotFoundException(String stub) { + super("Could not find member corresponding to stub: " + stub); + } +} |