public final class ParseException extends Exception
Constructor and Description |
---|
ParseException()
Constructs a new
ParseException with no message, no cause
exception and no detailed description of the parse problem. |
ParseException(String message)
Constructs a new
ParseException with the specified message. |
ParseException(String message,
Throwable cause,
String detail)
Constructs a new
ParseException with the specified
message and cause exception. |
Modifier and Type | Method and Description |
---|---|
String |
getDetail()
Returns a description of the parse error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParseException()
ParseException
with no message, no cause
exception and no detailed description of the parse problem.public ParseException(String message)
ParseException
with the specified message.message
- the message, can be null
.public ParseException(String message, Throwable cause, String detail)
ParseException
with the specified
message and cause exception.message
- the message to be returned by Throwable.getMessage()
, can be
null
.cause
- the cause exception, can be null
.detail
- description of the parse problem only, to be returned by
getDetail()
, can be null
.public String getDetail()
null
if none is
available.See http://www.xins.org/.