|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
wt.util.xml.WTSAXException
public class WTSAXException
Extends the capability of the org.xml.sax.SAXException in that, like
the wt.util.WTException, it accommodates nested exceptions and localizable
text messages.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getLocalizedMessage(boolean nested)
Returns the localized message, optionally including nested exception. |
String |
getLocalizedMessage(Locale locale)
Obtain a message, localized to the specified locale. |
String |
getLocalizedMessage(Locale locale,
boolean nested)
Returns the localized message, for the specified locale, optionally including nested exception. |
String |
getMessage()
Returns the message. |
Throwable |
getNestedThrowable()
Returns the embedded throwable object. |
void |
printStackTrace()
Prints this WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the standard error stream. |
void |
printStackTrace(PrintStream s)
Prints this WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the specified print writer. |
String |
toString()
Returns a description of this WTSAXException. |
String |
toString(boolean nested)
Returns a description of this WTException. |
| Methods inherited from class org.xml.sax.SAXException |
|---|
getException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getLocalizedMessage(Locale locale)
getLocalizedMessage in interface LocalizableMessagelocale -
public String getLocalizedMessage(Locale locale,
boolean nested)
nested - include nested exceptions in messagepublic String getLocalizedMessage(boolean nested)
nested - include nested exceptions in messagepublic String getMessage()
getMessage in class SAXExceptionpublic Throwable getNestedThrowable()
public void printStackTrace()
WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the standard error stream.
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the specified print stream.
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
WTSAXException and the stack trace of its most deeply
nested embedded Throwable to the specified print writer.
printStackTrace in class Throwablepublic String toString()
WTSAXException. The
description includes the descriptions of the nested throwable objects
that are embedded within this WTSAXException.
toString in class SAXExceptionpublic String toString(boolean nested)
WTException. The
description optionally includes the descriptions of the nested throwable
objects that are embedded within this WTException.
nested - include nested exceptions in message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||