Class JaxenRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jaxen.JaxenRuntimeException
- All Implemented Interfaces:
Serializable
This class exists to wrap Jaxen exceptions that otherwise wouldn't be propagated
up through the axis iterators.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJaxenRuntimeException(String message) Create a new JaxenRuntimeException.JaxenRuntimeException(Throwable cause) Create a new JaxenRuntimeException. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the exception that caused this exception.Sets the exception that caused this exception.voidPrint this exception's stack trace, followed by the source exception's trace, if any.voidPrint this exception's stack trace, followed by the source exception's stack trace, if any.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
cause
-
causeSet
private boolean causeSet
-
-
Constructor Details
-
JaxenRuntimeException
Create a new JaxenRuntimeException.- Parameters:
cause- the nested exception that's wrapped inside this exception
-
JaxenRuntimeException
Create a new JaxenRuntimeException.- Parameters:
message- the detail message
-
-
Method Details
-
getCause
-
initCause
Sets the exception that caused this exception. This is necessary to implement Java 1.4 chained exception functionality in a Java 1.3-compatible way. -
printStackTrace
Print this exception's stack trace, followed by the source exception's trace, if any.- Overrides:
printStackTracein classThrowable- Parameters:
s- the stream on which to print the stack trace
-
printStackTrace
Print this exception's stack trace, followed by the source exception's stack trace, if any.- Overrides:
printStackTracein classThrowable- Parameters:
s- the writer on which to print the stack trace
-