Class SAXPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jaxen.saxpath.SAXPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JaxenException, XPathSyntaxException
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Throwableprivate booleanprivate static doubleprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionSAXPathException(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 -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the exception that caused this exception.Sets the exception that caused this exception.voidPrint this exception's stack trace, followed by the source exception's trace, if any.voidPrint this exception's stack trace, followed by the source exception's stack trace, if any.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
javaVersion
private static double javaVersion -
cause
-
causeSet
private boolean causeSet
-
-
Constructor Details
-
SAXPathException
Create a new SAXPathException with a given message.- Parameters:
message- the error message
-
SAXPathException
Create a new SAXPathException based on another exception- Parameters:
cause- the error source
-
SAXPathException
-
-
Method Details
-
getCause
-
initCause
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. -
printStackTrace
Print this exception's stack trace, followed by the source exception's trace, if any.- Overrides:
printStackTracein classThrowable- Parameters:
s- the stream on which to print the stack trace
-
printStackTrace
Print this exception's stack trace, followed by the source exception's stack trace, if any.- Overrides:
printStackTracein classThrowable- Parameters:
s- the writer on which to print the stack trace
-