XIncludeException

class XIncludeException(message: String) extends Exception

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 [[java.lang.Throwable#getMessage]] method of class java.lang.Throwable.

Value Params
message

the detail message.

class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Constructors

def this()

uses '''null''' as its error detail message.

uses '''null''' as its error detail message.

Concrete methods

def getRootCause(): 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.

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.

Returns

Throwable the underlying exception which caused the XIncludeException to be thrown

def setRootCause(nestedException: 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.

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.

Value Params
nestedException

the underlying exception which caused the XIncludeException to be thrown

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from
Throwable
def fillInStackTrace(): Throwable
Inherited from
Throwable
def getCause(): Throwable
Inherited from
Throwable
def getLocalizedMessage(): String
Inherited from
Throwable
def getMessage(): String
Inherited from
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from
Throwable
def printStackTrace(): Unit
Inherited from
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from
Throwable
def toString(): String
Inherited from
Throwable