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 parameters:
message

the detail message.

class Exception
class Throwable
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

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 parameters:
nestedException

the underlying exception which caused the XIncludeException to be thrown

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable