Package net.minecraft.client.gl
Class ShaderParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.minecraft.client.gl.ShaderParseException
- All Implemented Interfaces:
Serializable
@Environment(CLIENT) public class ShaderParseException extends IOException
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShaderParseException.JsonStackTrace
-
Field Summary
Fields Modifier and Type Field Description private String
message
private List<ShaderParseException.JsonStackTrace>
traces
-
Constructor Summary
Constructors Constructor Description ShaderParseException(String message)
ShaderParseException(String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description void
addFaultyElement(String jsonKey)
void
addFaultyFile(String path)
String
getMessage()
static ShaderParseException
wrap(Exception cause)
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
traces
-
message
-
-
Constructor Details
-
ShaderParseException
-
ShaderParseException
-
-
Method Details
-
addFaultyElement
-
addFaultyFile
-
getMessage
- Overrides:
getMessage
in classThrowable
-
wrap
-