public class XPathException
extends antlr.TokenStreamException
Base class for exceptions which indicate that something went awry while parsing or evaluating an XPath.
Modifier and Type | Method and Description |
---|---|
Throwable |
getNested()
Gets the nested Throwable.
|
Throwable |
getNestedException()
Gets the nested exception.
|
void |
printStackTrace()
Prints the stack trace associated with this exception and
its nested exception to System.err.
|
void |
printStackTrace(PrintStream s)
Prints the stack trace associated with this exception and
its nested exception.
|
void |
printStackTrace(PrintWriter w)
Prints the stack trace associated with this exception and
its nested exception.
|
void |
superPrintStackTrace(PrintStream ps) |
void |
superPrintStackTrace(PrintWriter pw) |
String |
superToString() |
String |
toString()
Prints the exception message and its nested exception message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
public Throwable getNestedException()
public Throwable getNested()
public String superToString()
public void superPrintStackTrace(PrintStream ps)
public void superPrintStackTrace(PrintWriter pw)
public String toString()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- PrintStreampublic void printStackTrace(PrintWriter w)
printStackTrace
in class Throwable
w
- PrintWriterpublic void printStackTrace()
printStackTrace
in class Throwable