aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-06-11 15:32:07 +0200
committer zaaarf <zaaarf@proton.me>2023-06-11 15:32:07 +0200
commited70355a86f357b644bb7ecd7b90de5a5a6f6f76 (patch)
treea5429633b67e751282820cb19b9f2ee06c03ecd1 /src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
parentd528d472a1d2024fd55d0d2dfe2221929fe0856a (diff)
chore: moved obfuscation stuff to mapping library
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java27
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);
- }
-}