|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xpath.XPathException
public class XPathException
Indicates an error occured while evaluating an XPath expression.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |