org.jaxen.saxpath
Class SAXPathException
Exception
org.jaxen.saxpath.SAXPathException
public class SAXPathException
extends Exception
Base of all SAXPath exceptions.
- bob mcwhirter (bob@werken.com)
SAXPathException(String message) - Create a new SAXPathException with a given message.
|
SAXPathException(String message, Throwable cause) - Create a new SAXPathException with the specified detail message
and root cause.
|
SAXPathException(Throwable cause) - Create a new SAXPathException based on another exception
|
Throwable | getCause() - Returns the exception that caused this exception.
|
Throwable | initCause(Throwable cause) - Sets the exception that caused this exception.
|
void | printStackTrace(PrintStream s) - Print this exception's stack trace, followed by the
source exception's trace, if any.
|
void | printStackTrace(PrintWriter s) - Print this exception's stack trace, followed by the
source exception's stack trace, if any.
|
cause
private Throwable cause
causeSet
private boolean causeSet
javaVersion
private static double javaVersion
serialVersionUID
private static final long serialVersionUID
SAXPathException
public SAXPathException(String message)
Create a new SAXPathException with a given message.
message
- the error message
SAXPathException
public SAXPathException(String message,
Throwable cause)
Create a new SAXPathException with the specified detail message
and root cause.
message
- the detail messagecause
- the cause of this exception
SAXPathException
public SAXPathException(Throwable cause)
Create a new SAXPathException based on another exception
getCause
public Throwable getCause()
Returns the exception that caused this exception.
This is necessary to implement Java 1.4 chained exception
functionality in a Java 1.3-compatible way.
- the exception that caused this exception
initCause
public Throwable initCause(Throwable cause)
Sets the exception that caused this exception.
This is necessary to implement Java 1.4 chained exception
functionality in a Java 1.3-compatible way.
cause
- the exception wrapped in this runtime exception
printStackTrace
public void printStackTrace(PrintStream s)
Print this exception's stack trace, followed by the
source exception's trace, if any.
s
- the stream on which to print the stack trace
printStackTrace
public void printStackTrace(PrintWriter s)
Print this exception's stack trace, followed by the
source exception's stack trace, if any.
s
- the writer on which to print the stack trace