Class ParseException

    • Constructor Detail

      • ParseException

        public ParseException​(int position,
                              int errorType,
                              Object unexpectedObject)
      • ParseException

        public ParseException​(int position,
                              Throwable cause)
    • Method Detail

      • getErrorType

        public int getErrorType()
      • getPosition

        public int getPosition()
        Returns:
        The character position (starting with 0) of the input where the error occurs.
      • getUnexpectedObject

        public Object getUnexpectedObject()
        Returns:
        One of the following base on the value of errorType: ERROR_UNEXPECTED_CHAR java.lang.Character ERROR_UNEXPECTED_TOKEN ERROR_UNEXPECTED_EXCEPTION java.lang.Exception