public class ParseException extends RuntimeException
Constructor and Description |
---|
ParseException()
Constructs a
ParseException instance with no error message. |
ParseException(String message)
Constructs a
ParseException instance with an error message. |
ParseException(String message,
UnexpectedCharacterException cause)
Constructs a
ParseException instance with an error message
and the cause exception. |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the string representation of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ParseException()
ParseException
instance with no error message.public ParseException(String message)
ParseException
instance with an error message.message
- the error messagepublic ParseException(String message, UnexpectedCharacterException cause)
ParseException
instance with an error message
and the cause exception.message
- the error messagecause
- an exception that caused this exceptionCopyright © 2015. All rights reserved.