|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.xpath.XPathException
public class XPathException
A generic XPath exception.
| Constructor Summary | |
|---|---|
XPathException(String message)
|
|
XPathException(Throwable cause)
|
|
| Method Summary | |
|---|---|
Throwable |
getCause()
getCause returns the cause of this exception or null if no cause was set. |
void |
printStackTrace()
Print stack trace of this Throwable to System.err. |
void |
printStackTrace(PrintStream out)
Print the stack trace of this Throwable to the given stream. |
void |
printStackTrace(PrintWriter out)
Print the stack trace of this Throwable to the given PrintWriter. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XPathException(String message)
public XPathException(Throwable cause)
| Method Detail |
|---|
public Throwable getCause()
Throwable
getCause in class Throwablepublic void printStackTrace()
ThrowableThe printed stack trace contains the result of toString() as the first line followed by one line for each stack trace element that contains the name of the method or constructor, optionally followed by the source file name and source file line number if available.
For JamaicaVM, this routine also works before System was initialized by using low-level exception printing mechanisms provided by class com.aicas.jamaica.lang.Debug.
printStackTrace in class Throwablepublic void printStackTrace(PrintStream out)
ThrowableThe printed stack trace contains the result of toString() as the first line followed by one line for each stack trace element that contains the name of the method or constructor, optionally followed by the source file name and source file line number if available.
For JamaicaVM, if printing to the stream causes another exception, low-level exception printing mechanisms provided by class com.aicas.jamaica.lang.Debug will be used to print the exception to stderr.
printStackTrace in class Throwableout - the stream to print to.public void printStackTrace(PrintWriter out)
ThrowableThe printed stack trace contains the result of toString() as the first line followed by one line for each stack trace element that contains the name of the method or constructor, optionally followed by the source file name and source file line number if available.
For JamaicaVM, if printing to the PrintWriter causes another exception, low-level exception printing mechanisms provided by class com.aicas.jamaica.lang.Debug will be used to print the exception to stderr.
printStackTrace in class Throwableout - the PrintWriter to write to.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||