|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.tomp.xml.include.XIncludeException
XIncludeException
is the generic superclass for all checked
exceptions that may be thrown as a result of a violation of XInclude's rules.
Constructor Summary | |
XIncludeException()
Constructs an XIncludeException with null
as its error detail message. |
|
XIncludeException(java.lang.String message)
Constructs an XIncludeException with the specified detail
message. |
Method Summary | |
java.lang.Throwable |
getRootCause()
When an IOException ,MalformedURLException
or other generic exception is thrown while processing an XML document for
XIncludes, it is customarily replaced by some form of
XIncludeException . |
void |
setRootCause(java.lang.Throwable nestedException)
When an IOException ,MalformedURLException
or other generic exception is thrown while processing an XML document for
XIncludes, it is customarily replaced by some form of
XIncludeException . |
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 XIncludeException()
XIncludeException
with null
as its error detail message.
public XIncludeException(java.lang.String message)
XIncludeException
with the specified detail
message. The error message string message
can later be
retrieved by the Throwable.getMessage()
method of class java.lang.Throwable
.
message
- the detail message.Method Detail |
public void setRootCause(java.lang.Throwable nestedException)
IOException
,MalformedURLException
or other generic exception is thrown while processing an XML document for
XIncludes, it is customarily replaced by some form of
XIncludeException
. This method allows you to store the
original exception.
nestedException
- the underlying exception which caused the
XIncludeException to be thrownpublic java.lang.Throwable getRootCause()
IOException
,MalformedURLException
or other generic exception is thrown while processing an XML document for
XIncludes, it is customarily replaced by some form of
XIncludeException
. This method allows you to retrieve the
original exception. It returns null if no such exception caused this
XIncludeException
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |