|
||||||||||
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
public class SAXPathException
Base of all SAXPath exceptions.
Constructor Summary | |
---|---|
SAXPathException(String message)
Create a new SAXPathException with a given message. |
|
SAXPathException(String message,
Throwable cause)
Create a new SAXPathException with the specified detail message and root cause. |
|
SAXPathException(Throwable cause)
Create a new SAXPathException based on another exception |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the exception that caused this exception. |
Throwable |
initCause(Throwable cause)
Sets the exception that caused this exception. |
void |
printStackTrace(PrintStream s)
Print this exception's stack trace, followed by the source exception's trace, if any. |
void |
printStackTrace(PrintWriter s)
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 SAXPathException(String message)
message
- the error messagepublic SAXPathException(Throwable cause)
cause
- the error sourcepublic SAXPathException(String message, Throwable cause)
message
- the detail messagecause
- the cause of this exceptionMethod Detail |
---|
public Throwable getCause()
getCause
in class Throwable
public Throwable initCause(Throwable cause)
initCause
in class Throwable
cause
- the exception wrapped in this runtime exception
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- the stream on which to print the stack tracepublic void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
s
- 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 |