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/MappingNotFoundException.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/MappingNotFoundException.java')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java new file mode 100644 index 0000000..817761b --- /dev/null +++ b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java @@ -0,0 +1,17 @@ +package ftbsc.lll.exceptions; + +import ftbsc.lll.processor.tools.SrgMapper; + +/** + * Thrown upon failure to find the requested mapping within a loaded {@link SrgMapper}. + */ +public class MappingNotFoundException extends RuntimeException { + + /** + * Constructs a new mapping not found exception for the specified mapping. + * @param mapping the detail message + */ + public MappingNotFoundException(String mapping) { + super("Could not find mapping for " + mapping + "!"); + } +} |