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.
XIncludeException
@throws IllegalArgumentException if the cause is this exception(An exception cannot be its own cause.)
@throws IllegalStateException if this method is called twice
| |
| |