org.jaxen.saxpath
Class SAXPathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaxen.saxpath.SAXPathException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JaxenException, SAXPathParseException, XPathSyntaxException

public class SAXPathException
extends java.lang.Exception

Base of all SAXPath exceptions.

Author:
bob mcwhirter (bob@werken.com)
See Also:
Serialized Form

Constructor Summary
SAXPathException(java.lang.String msg)
          Construct with a given message.
SAXPathException(java.lang.Throwable src)
          Construct based on another exception
 
Method Summary
 java.lang.Throwable getCause()
          If this exception was originally caused by another exception, return it; otherwise, return null.
 void printStackTrace()
          Overridden to print this exception's stack, followed by the source exception's, if any.
 void printStackTrace(java.io.PrintStream s)
          Overridden to print this exception's stack, followed by the source exception's, if any.
 void printStackTrace(java.io.PrintWriter s)
          Overridden to print this exception's stack, followed by the source exception's, 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
 

Constructor Detail

SAXPathException

public SAXPathException(java.lang.String msg)
Construct with a given message.

Parameters:
msg - the error message

SAXPathException

public SAXPathException(java.lang.Throwable src)
Construct based on another exception

Parameters:
src - the error source
Method Detail

getCause

public java.lang.Throwable getCause()
If this exception was originally caused by another exception, return it; otherwise, return null.


printStackTrace

public void printStackTrace()
Overridden to print this exception's stack, followed by the source exception's, if any.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overridden to print this exception's stack, followed by the source exception's, if any.


printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overridden to print this exception's stack, followed by the source exception's, if any.



Copyright © 2001-2005 Codehaus. All Rights Reserved.