org.exolab.adaptx.xpath
Class XPathException
Exception
org.exolab.adaptx.xpath.XPathException
public class XPathException
extends Exception
Indicates an error occured while evaluating an XPath expression.
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:37 $XPathException(Exception exception) - Creates a new XPathException with the given exception.
|
XPathException(String message) - Creates a new XPathException with the given message
|
XPathException(String message, Exception exception) - Creates a new XPathException with the given message
and exception.
|
Exception | getException() - Returns the nested exception for this XPathException.
|
void | printStackTrace() - Prints the stack trace for this exception
|
void | printStackTrace(PrintStream stream) - Prints the stack trace for this exception
|
void | printStackTrace(PrintWriter writer) - Prints the stack trace for this exception
|
XPathException
public XPathException(Exception exception)
Creates a new XPathException with the given exception.
exception
- the Exception which caused the error.
XPathException
public XPathException(String message)
Creates a new XPathException with the given message
message
- the error message for this XPathException
XPathException
public XPathException(String message,
Exception exception)
Creates a new XPathException with the given message
and exception.
message
- the error message for this XPathExceptionexception
- the Exception which caused the error.
getException
public Exception getException()
Returns the nested exception for this XPathException.
- the nested exception, or null if no nested exception
exists.
printStackTrace
public void printStackTrace()
Prints the stack trace for this exception
printStackTrace
public void printStackTrace(PrintStream stream)
Prints the stack trace for this exception
stream
- the PrintStream to print the stack trace to.
printStackTrace
public void printStackTrace(PrintWriter writer)
Prints the stack trace for this exception
writer
- the PrintWriter to print the stack trace to.