|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.xerces.xni.XNIException
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.
| Constructor Summary | |
XNIException(java.lang.Exception exception)
Constructs an XNI exception with a wrapped exception. |
|
XNIException(java.lang.String message)
Constructs an XNI exception with a message. |
|
XNIException(java.lang.String message,
java.lang.Exception exception)
Constructs an XNI exception with a message and wrapped exception. |
|
| Method Summary | |
java.lang.Exception |
getException()
Returns the wrapped exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XNIException(java.lang.String message)
message - The exception message.public XNIException(java.lang.Exception exception)
exception - The wrapped exception.
public XNIException(java.lang.String message,
java.lang.Exception exception)
message - The exception message.exception - The wrapped exception.| Method Detail |
public java.lang.Exception getException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||