org.jaxen.saxpath
Class SAXPathException

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

public class SAXPathException
extends Exception

Base of all SAXPath exceptions.

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

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

Parameters:
msg - The error message.

SAXPathException

public SAXPathException(Throwable src)
Construct based on another exception

Parameters:
src - The error source.
Method Detail

getCause

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

Overrides:
getCause in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable


Copyright © 2001-2003 Codehaus. All Rights Reserved.