java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | org.apache.xerces.xni.XNIException |
Known Direct Subclasses |
This exception is the base exception of all XNI exceptions. It can be constructed with an error message or used to wrap another exception object.
Note: By extending the Java
RuntimeException
, XNI handlers and components are
not required to catch XNI exceptions but may explicitly catch
them, if so desired.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an XNI exception with a message.
| |||||||||||
Constructs an XNI exception with a wrapped exception.
| |||||||||||
Constructs an XNI exception with a message and wrapped exception.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the wrapped exception.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs an XNI exception with a message.
message | The exception message. |
---|
Constructs an XNI exception with a wrapped exception.
exception | The wrapped exception. |
---|
Constructs an XNI exception with a message and wrapped exception.
message | The exception message. |
---|---|
exception | The wrapped exception. |