summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-02-27 17:07:06 +0100
committer zaaarf <zaaarf@proton.me>2023-02-27 17:07:06 +0100
commitfe928a0fb0b4607dc3983a3e13ecab823d211131 (patch)
tree440f92801b7ee53037e6e8b837db765cda4b1666 /src/main/java/ftbsc/lll/exceptions
parentcf537274eeeca41b4c097371e83afef1c2c544ca (diff)
chore: moved exception from lll-processor
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java10
1 files changed, 10 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..77bc900
--- /dev/null
+++ b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
@@ -0,0 +1,10 @@
+package ftbsc.lll.exceptions;
+
+/**
+ * Thrown upon failure to find the requested mapping within a loaded SrgMapper.
+ */
+public class MappingNotFoundException extends RuntimeException {
+ public MappingNotFoundException(String mapping) {
+ super("Could not find mapping for " + mapping + "!");
+ }
+}