org.jaxen
Class JaxenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaxen.saxpath.SAXPathException
org.jaxen.JaxenException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FunctionCallException, UnresolvableException, UnsupportedAxisException, XPathSyntaxException
- public class JaxenException
- extends SAXPathException
Generic Jaxen exception.
This is the root of all Jaxen exceptions.
It may wrap other exceptions. See getRootCause()
.
- Author:
- bob mcwhirter
- See Also:
- Serialized Form
Field Summary |
private java.lang.Throwable |
rootCause
Root cause, if any. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
JaxenException(java.lang.String message)
Construct with a message. |
JaxenException(java.lang.Throwable rootCause)
Construct with a root cause. |
Method Summary |
java.lang.Throwable |
getRootCause()
Retrieve the root cause, if any. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rootCause
private java.lang.Throwable rootCause
- Root cause, if any.
JaxenException
public JaxenException(java.lang.String message)
- Construct with a message.
- Parameters:
message
- The error message.
JaxenException
public JaxenException(java.lang.Throwable rootCause)
- Construct with a root cause.
- Parameters:
rootCause
- Root cause of the error.
getRootCause
public java.lang.Throwable getRootCause()
- Retrieve the root cause, if any.
- Returns:
- Root cause of the error.