public class SAXPathException extends Exception
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, setStackTrace, toString
public SAXPathException(String message)
message
- the error messagepublic SAXPathException(Throwable cause)
cause
- the error sourcepublic Throwable getCause()
public Throwable initCause(Throwable cause)
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 traceCopyright © 2001–2015 Codehaus. All rights reserved.