|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jaxen.JaxenRuntimeException
This class exists to wrap Jaxen exceptions that otherwise wouldn't be propagated up through the axis iterators.
Field Summary | |
private java.lang.Throwable |
cause
|
private boolean |
causeSet
|
private static long |
serialVersionUID
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
JaxenRuntimeException(java.lang.String message)
Create a new JaxenRuntimeException. |
|
JaxenRuntimeException(java.lang.Throwable cause)
Create a new JaxenRuntimeException. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the exception that caused this exception. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Sets the exception that caused this exception. |
void |
printStackTrace(java.io.PrintStream s)
Print this exception's stack trace, followed by the source exception's trace, if any. |
void |
printStackTrace(java.io.PrintWriter s)
Print this exception's stack trace, followed by the source exception's stack trace, if any. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.Throwable cause
private boolean causeSet
Constructor Detail |
public JaxenRuntimeException(java.lang.Throwable cause)
cause
- the nested exception that's wrapped
inside this exceptionpublic JaxenRuntimeException(java.lang.String message)
message
- the detail messageMethod Detail |
public java.lang.Throwable getCause()
public java.lang.Throwable initCause(java.lang.Throwable cause)
cause
- the exception wrapped in this runtime exception
public void printStackTrace(java.io.PrintStream s)
s
- the stream on which to print the stack tracepublic void printStackTrace(java.io.PrintWriter s)
s
- the writer on which to print the stack trace
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |