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
.
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
.
This method allows you to retrieve the original exception.
It returns null if no such exception caused this XIncludeException
.
Throwable the underlying exception which caused the
XIncludeException
to be thrown
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
.
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
.
This method allows you to store the original exception.
the underlying exception which caused the XIncludeException to be thrown
(Since version 2.11.0) Use Throwable#getStackTrace
XIncludeException
is the generic superclass for all checked exceptions that may be thrown as a result of a violation of XInclude's rules.Constructs an
XIncludeException
with the specified detail message. The error message stringmessage
can later be retrieved by the
method of classjava.lang.Throwable#getMessage
java.lang.Throwable
.