aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/ex
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-02-17 12:30:58 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-02-17 12:30:58 +0200
commit8e96b0fbba042e63f956b017cc3215d9880d597c (patch)
tree1e68044815a19c28828a82f20a7e0616227d2297 /src/main/java/shcm/shsupercm/fabric/citresewn/ex
parent77bcaf1b48fd94d90755eb9a9360601ba5414904 (diff)
downloadCITResewn-8e96b0fbba042e63f956b017cc3215d9880d597c.tar.gz
CITResewn-8e96b0fbba042e63f956b017cc3215d9880d597c.tar.bz2
CITResewn-8e96b0fbba042e63f956b017cc3215d9880d597c.zip
Implemented some common condition types
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/ex')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/ex/CITParsingException.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/ex/CITParsingException.java b/src/main/java/shcm/shsupercm/fabric/citresewn/ex/CITParsingException.java
index b3e126f..811d16b 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/ex/CITParsingException.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/ex/CITParsingException.java
@@ -3,6 +3,10 @@ package shcm.shsupercm.fabric.citresewn.ex;
import shcm.shsupercm.fabric.citresewn.pack.format.PropertyGroup;
public class CITParsingException extends Exception {
+ public CITParsingException(String message, PropertyGroup propertyGroup, int position, Throwable throwable) {
+ super("Errored while parsing CIT: " + descriptionOf(message, propertyGroup, position), throwable);
+ }
+
public CITParsingException(String message, PropertyGroup propertyGroup, int position) {
super("Errored while parsing CIT: " + descriptionOf(message, propertyGroup, position));
}