Package com.jme3.material.plugins
Class MatParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.jme3.material.plugins.MatParseException
- All Implemented Interfaces:
Serializable
Custom Exception to report a j3md Material definition file parsing error.
This exception reports the line number where the error occurred.
- See Also:
-
Constructor Summary
ConstructorDescriptionMatParseException
(String text, Statement statement) creates a MatParseExceptionMatParseException
(String text, Statement statement, Throwable cause) creates a MatParseExceptionMatParseException
(String expected, String got, Statement statement) creates a MatParseExceptionMatParseException
(String expected, String got, Statement statement, Throwable cause) creates a MatParseException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MatParseException
creates a MatParseException- Parameters:
expected
- the expected valuegot
- the actual valuestatement
- the read statement
-
MatParseException
creates a MatParseException- Parameters:
text
- the error messagestatement
- the statement where the error occur
-
MatParseException
creates a MatParseException- Parameters:
expected
- the expected valuegot
- the actual valuestatement
- the read statementcause
- the embed exception that occurred
-
MatParseException
creates a MatParseException- Parameters:
text
- the error messagestatement
- the statement where the error occurcause
- the embed exception that occurred
-