public class SAXPathException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause |
private boolean |
causeSet |
private static double |
javaVersion |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
SAXPathException(java.lang.String message)
Create a new SAXPathException with a given message.
|
SAXPathException(java.lang.String message,
java.lang.Throwable cause)
Create a new SAXPathException with the specified detail message
and root cause.
|
SAXPathException(java.lang.Throwable cause)
Create a new SAXPathException based on another exception
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the exception that caused this exception.
|
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Sets the exception that caused this exception.
|
void |
printStackTrace(java.io.PrintStream s)
Print this exception's stack trace, followed by the
source exception's trace, if any.
|
void |
printStackTrace(java.io.PrintWriter s)
Print this exception's stack trace, followed by the
source exception's stack trace, if any.
|
private static final long serialVersionUID
private static double javaVersion
private java.lang.Throwable cause
private boolean causeSet
public SAXPathException(java.lang.String message)
message - the error messagepublic SAXPathException(java.lang.Throwable cause)
cause - the error sourcepublic SAXPathException(java.lang.String message,
java.lang.Throwable cause)
message - the detail messagecause - the cause of this exceptionpublic java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in class java.lang.Throwablecause - the exception wrapped in this runtime exceptionpublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - the stream on which to print the stack tracepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - the writer on which to print the stack trace