org.jaxen
Class JaxenException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaxen.saxpath.SAXPathException
              extended byorg.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 org.jaxen.saxpath.SAXPathException
 
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 org.jaxen.saxpath.SAXPathException
getCause, printStackTrace, printStackTrace, printStackTrace
 
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
 

Field Detail

rootCause

private java.lang.Throwable rootCause
Root cause, if any.

Constructor Detail

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.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Retrieve the root cause, if any.

Returns:
Root cause of the error.