|
|||||||||||
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.jaxen.saxpath.SAXPathException
org.jaxen.JaxenException
Generic Jaxen exception.
This is the root of all Jaxen exceptions. It may wrap other exceptions.
Constructor Summary | |
JaxenException(java.lang.String message)
Create an exception with a detail message. |
|
JaxenException(java.lang.String message,
java.lang.Throwable nestedException)
Create a new JaxenException with the specified detail message and root cause. |
|
JaxenException(java.lang.Throwable rootCause)
Create an exception caused by another exception. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the exception that caused this exception. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Sets the exception that caused this exception. |
void |
printStackTrace(java.io.PrintStream s)
Print this exception's stack trace, followed by the source exception's trace, if any. |
void |
printStackTrace(java.io.PrintWriter w)
Print this exception's stack trace, followed by the source exception's stack trace, if any. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JaxenException(java.lang.String message)
message
- the error messagepublic JaxenException(java.lang.Throwable rootCause)
rootCause
- the root cause of this exceptionpublic JaxenException(java.lang.String message, java.lang.Throwable nestedException)
message
- the detail messagenestedException
- the cause of this exceptionMethod Detail |
public java.lang.Throwable getCause()
getCause
in class SAXPathException
public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class SAXPathException
cause
- the exception wrapped in this runtime exception
public void printStackTrace(java.io.PrintStream s)
SAXPathException
printStackTrace
in class SAXPathException
s
- the stream on which to print the stack tracepublic void printStackTrace(java.io.PrintWriter w)
SAXPathException
printStackTrace
in class SAXPathException
w
- the writer on which to print the stack trace
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |