public class XPathException
extends java.lang.Exception
| Constructor and Description |
|---|
XPathException(java.lang.Exception exception)
Creates a new XPathException with the given exception.
|
XPathException(java.lang.String message)
Creates a new XPathException with the given message
|
XPathException(java.lang.String message,
java.lang.Exception exception)
Creates a new XPathException with the given message
and exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Returns the nested exception for this XPathException.
|
void |
printStackTrace()
Prints the stack trace for this exception
|
void |
printStackTrace(java.io.PrintStream stream)
Prints the stack trace for this exception
|
void |
printStackTrace(java.io.PrintWriter writer)
Prints the stack trace for this exception
|
public XPathException(java.lang.String message)
message - the error message for this XPathExceptionpublic XPathException(java.lang.String message,
java.lang.Exception exception)
message - the error message for this XPathExceptionexception - the Exception which caused the error.public XPathException(java.lang.Exception exception)
exception - the Exception which caused the error.public java.lang.Exception getException()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablestream - the PrintStream to print the stack trace to.public void printStackTrace(java.io.PrintWriter writer)
printStackTrace in class java.lang.Throwablewriter - the PrintWriter to print the stack trace to.