blob: f897ba7769f167e723b687923c3be50f5663817c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package shcm.shsupercm.fabric.citresewn.ex;
import shcm.shsupercm.fabric.citresewn.pack.format.PropertyGroup;
/**
* Thrown if errored while parsing the properties of a {@link PropertyGroup}.
* @see PropertyGroup#messageWithDescriptorOf(String, int)
*/
public class CITParsingException extends Exception {
public CITParsingException(String message, PropertyGroup propertyGroup, int position, Throwable throwable) {
super("Errored while parsing CIT: " + propertyGroup.messageWithDescriptorOf(message, position), throwable);
}
public CITParsingException(String message, PropertyGroup propertyGroup, int position) {
super("Errored while parsing CIT: " + propertyGroup.messageWithDescriptorOf(message, position));
}
}
|