Class ParseException

    • Constructor Detail

      • ParseException

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

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

        public ParseException​(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 String toString()
        Returns the string representation of this exception.
        Overrides:
        toString in class Throwable
        Returns:
        the string representation of this exception