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.
| Modifier and Type | Field and Description |
|---|---|
| private Exception | fException
The wrapped exception. |
| pack-priv static final long | serialVersionUID
Serialization version.
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | XNIException(Exception
The wrapped exception. exception)Constructs an XNI exception with a wrapped exception. |
| public | XNIException(String
The exception message. message, Exception The wrapped exception. exception)Constructs an XNI exception with a message and wrapped exception. |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | |
| public Exception | |
| public synchronized Throwable | Returns: this exceptionthe cause throwable)Overrides java. XNIException.
|
| fException | back to summary |
|---|---|
| private Exception fException The wrapped exception. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides java. Serialization version. | |
| XNIException | back to summary |
|---|---|
| public XNIException(String message) Constructs an XNI exception with a message.
| |
| XNIException | back to summary |
|---|---|
| public XNIException(Exception exception) Constructs an XNI exception with a wrapped exception.
| |
| XNIException | back to summary |
|---|---|
| public XNIException(String message, Exception exception) Constructs an XNI exception with a message and wrapped exception. | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Returns the cause of this
| |
| getException | back to summary |
|---|---|
| public Exception getException() Returns the wrapped exception. | |
| initCause | back to summary |
|---|---|
| public synchronized Throwable initCause(Throwable throwable) Overrides java. Initializes the cause of this
| |