|
Scala Library
|
|
class
XIncludeException(message : java.lang.String)
extends java.lang.Exception with AnyRef
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 string message can later be
retrieved by the {@link java.lang.Throwable#getMessage}
method of class java.lang.Throwable.
message - the detail message.| Additional Constructor Summary | |
def
|
this
: XIncludeException
uses
null as its error detail message. |
| Method Summary | |
def
|
getRootCause
: java.lang.Throwable
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. |
def
|
setRootCause
(nestedException : java.lang.Throwable) : Unit
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. |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Additional Constructor Details |
| Method Details |
def
setRootCause(nestedException : java.lang.Throwable) : Unit
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 thrown
def
getRootCause : java.lang.Throwable
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.XIncludeException to be thrown|
Scala Library
|
|