XIncludeException

scala.xml.include.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.

Attributes

Graph
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Constructors

def this()

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

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

Attributes

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.

Attributes

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

Attributes

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable