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 | getCause()
Overrides java. Returns the cause of this throwable or |
| public Exception |
| 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. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a | |
| getException | back to summary |
|---|---|
| public Exception getException() Returns the wrapped exception. | |