|
WebObjects 5.2.3 | ||||||||||
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 java.lang.RuntimeException com.webobjects.foundation.NSForwardException com.webobjects.appserver.xml.WOXMLException
This class serves to wrap a number of exceptions that can arise during the parsing process, reducing the number of exceptions your code has to catch. In particular, exceptions that are thrown by the SAX parser are encapsulated in WOXMLException objects and then re-thrown.
Constructor Summary | |
WOXMLException(String extraMessage)
Creates a WOXMLException that contains an exception message. |
|
WOXMLException(Throwable wrapped)
Creates a WOXMLException that wraps an exception. |
|
WOXMLException(Throwable wrapped,
String extraMessage)
Creates a WOXMLException that wraps an exception and an extra text string. |
Method Summary | |
String |
getMessage()
Gets the error message string of this exception object. |
String |
toString()
Returns a short description of this exception object. |
Methods inherited from class com.webobjects.foundation.NSForwardException |
originalException, printStackTrace, printStackTrace, printStackTrace, stackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WOXMLException(Throwable wrapped, String extraMessage)
wrapped
- an exception that needs to be wrapped in this exceptionextraMessage
- an extra text string explaining the exception furtherpublic WOXMLException(Throwable wrapped)
wrapped
- an exception that needs to be wrapped in this exceptionpublic WOXMLException(String extraMessage)
extraMessage
- an extra text string explaining the exceptionMethod Detail |
public String getMessage()
null
is
return if there is no error message at all.public String toString()
toString
in class NSForwardException
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |