Class ParseException

    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException()
      Constructs a ParseException instance with no error message.
      ParseException​(java.lang.String message)
      Constructs a ParseException instance with an error message.
      ParseException​(java.lang.String message, UnexpectedCharacterException cause)
      Constructs a ParseException instance with an error message and the cause exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns the string representation of this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParseException

        public ParseException()
        Constructs a ParseException instance with no error message.
      • ParseException

        public ParseException​(java.lang.String message)
        Constructs a ParseException instance with an error message.
        Parameters:
        message - the error message
      • ParseException

        public ParseException​(java.lang.String message,
                              UnexpectedCharacterException cause)
        Constructs a ParseException instance with an error message and the cause exception.
        Parameters:
        message - the error message
        cause - an exception that caused this exception
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns the string representation of this exception.
        Overrides:
        toString in class java.lang.Throwable
        Returns:
        the string representation of this exception