Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends RuntimeException
Exceptions encountered during parsing.
See Also:
Serialized Form
  • Method Details

    • errorCode

      public ParseException.ErrorCode errorCode()
      The error code of the Exception
    • line

      public int line()
      Line of input on which the error occurred. The first line is '1' (like a text editor).

      NOTE: This can be '0' if the error occurred at the end of file (EOF)

    • isEOF

      public boolean isEOF()
      True if error occurred at EOF
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable