summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java b/src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java
new file mode 100644
index 0000000..1352855
--- /dev/null
+++ b/src/main/java/ftbsc/lll/exceptions/MalformedMappingsException.java
@@ -0,0 +1,7 @@
+package ftbsc.lll.exceptions;
+
+public class MalformedMappingsException extends Exception {
+ public MalformedMappingsException(String mapping, String type) {
+ super(String.format("Unexpected token at line %s for mapper type %s!", mapping, type));
+ }
+}