org.jaxen
Class JaxenException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.saxpath.SAXPathException
                    |
                    +--org.jaxen.JaxenException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FunctionCallException, UnresolvableException, UnsupportedAxisException, XPathSyntaxException

public class JaxenException
extends org.saxpath.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

Constructor Summary
JaxenException(String message)
          Construct with a message.
JaxenException(Throwable rootCause)
          Construct with a root cause.
 
Method Summary
 Throwable getRootCause()
          Retrieve the root cause, if any.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxenException

public JaxenException(String message)
Construct with a message.
Parameters:
message - The error message.

JaxenException

public JaxenException(Throwable rootCause)
Construct with a root cause.
Parameters:
rootCause - Root cause of the error.
Method Detail

getRootCause

public Throwable getRootCause()
Retrieve the root cause, if any.
Returns:
Root cause of the error.


Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by

SourceForge Logo