public class JaxenRuntimeException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
cause |
private boolean |
causeSet |
private static long |
serialVersionUID |
Constructor and Description |
---|
JaxenRuntimeException(java.lang.String message)
Create a new JaxenRuntimeException.
|
JaxenRuntimeException(java.lang.Throwable cause)
Create a new JaxenRuntimeException.
|
Modifier and Type | Method and Description |
---|---|
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.
|
private static final long serialVersionUID
private java.lang.Throwable cause
private boolean causeSet
public JaxenRuntimeException(java.lang.Throwable cause)
cause
- the nested exception that's wrapped
inside this exceptionpublic JaxenRuntimeException(java.lang.String message)
message
- the detail messagepublic java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class java.lang.Throwable
cause
- the exception wrapped in this runtime exceptionpublic void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- the stream on which to print the stack tracepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- the writer on which to print the stack trace