public class ParseException
extends java.lang.RuntimeException
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the string representation of this exception.
|
public ParseException()
ParseException
instance with no error message.public ParseException(java.lang.String message)
ParseException
instance with an error message.message
- the error messagepublic ParseException(java.lang.String message, UnexpectedCharacterException cause)
ParseException
instance with an error message
and the cause exception.message
- the error messagecause
- an exception that caused this exception