Class ParserException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opensourcephysics.ejs.control.value.ParserException
All Implemented Interfaces:
Serializable

public final class ParserException extends Exception
Indicates that an error occured in parser operation, and the operation could not be completed. Used internally in Parser class.
See Also:
  • Field Details

  • Constructor Details

    • ParserException

      public ParserException(int code)
      The constructor of ParserException.
      Parameters:
      code - the error code
    • ParserException

      public ParserException(String msg)
      Constructor ParserException
      Parameters:
      msg -
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets the error code.
      Returns:
      the error code