diff options
author | zaaarf <me@zaaarf.foo> | 2024-05-31 14:49:53 +0200 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-05-31 14:49:53 +0200 |
commit | 8d26063266b8cdbacd23ae9abdec4cf3810a2049 (patch) | |
tree | d8448bcacd54d1194c07e3f1f734e11eefe00cfc /src/main/java/ftbsc/lll/exceptions | |
parent | 4f8bde4ce277803ed7bed8034ea3d0c4df237e1b (diff) | |
parent | 9cc6ed16d37bff66b7d128a19abfcb497db6a66f (diff) |
Merge branch 'feature/mapper-library' into dev0.6.1
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java deleted file mode 100644 index e943c01..0000000 --- a/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java +++ /dev/null @@ -1,27 +0,0 @@ -package ftbsc.lll.exceptions; - -import ftbsc.lll.processor.tools.obfuscation.ObfuscationMapper; - -/** - * Thrown upon failure to find the requested mapping within a loaded {@link ObfuscationMapper}. - */ -public class MappingNotFoundException extends RuntimeException { - - /** - * Constructs a new mapping not found exception for the specified mapping. - * @param mapping the relevant mapping - */ - public MappingNotFoundException(String mapping) { - super(String.format("Could not find mapping for %s!", mapping)); - } - - /** - * Constructs a new mapping not found exception for the specified mapping - * with the specified reason. - * @param mapping the relevant mapping - * @param reason the reason message - */ - public MappingNotFoundException(String mapping, String reason) { - this(mapping + ": " + reason); - } -} |