|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.xins.common.text.ParseException
Exception thrown to indicate a parsing failure.
Constructor Summary | |
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. |
Method Summary | |
String |
getDetail()
Returns a description of the parse error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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
.Method Detail |
public String getDetail()
null
if none is
available.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |