Class MatParseException

All Implemented Interfaces:
Serializable

public class MatParseException extends IOException
Custom Exception to report a j3md Material definition file parsing error. This exception reports the line number where the error occurred.
See Also:
  • Constructor Details

    • MatParseException

      public MatParseException(String expected, String got, Statement statement)
      creates a MatParseException
      Parameters:
      expected - the expected value
      got - the actual value
      statement - the read statement
    • MatParseException

      public MatParseException(String text, Statement statement)
      creates a MatParseException
      Parameters:
      text - the error message
      statement - the statement where the error occur
    • MatParseException

      public MatParseException(String expected, String got, Statement statement, Throwable cause)
      creates a MatParseException
      Parameters:
      expected - the expected value
      got - the actual value
      statement - the read statement
      cause - the embed exception that occurred
    • MatParseException

      public MatParseException(String text, Statement statement, Throwable cause)
      creates a MatParseException
      Parameters:
      text - the error message
      statement - the statement where the error occur
      cause - the embed exception that occurred