ParseException
public class XPathException
extends java.lang.Exception
Constructor | 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 | 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.Throwable
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
stream
- the PrintStream to print the stack trace to.public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
writer
- the PrintWriter to print the stack trace to.