@Environment(value=CLIENT) public class ShaderParseException extends IOException
Modifier and Type | Class and Description |
---|---|
static class |
ShaderParseException.JsonStackTrace |
Modifier and Type | Field and Description |
---|---|
private String |
message |
private List<ShaderParseException.JsonStackTrace> |
traces |
Constructor and Description |
---|
ShaderParseException(String message) |
ShaderParseException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
addFaultyElement(String jsonKey) |
void |
addFaultyFile(String path) |
String |
getMessage() |
static ShaderParseException |
wrap(Exception cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final List<ShaderParseException.JsonStackTrace> traces
private final String message
public ShaderParseException(String message)
public void addFaultyElement(String jsonKey)
public void addFaultyFile(String path)
public String getMessage()
getMessage
in class Throwable
public static ShaderParseException wrap(Exception cause)