public class XPathException extends 异常
XPathException表示泛型XPath例外。
| Constructor and Description |
|---|
XPathException(String message)
构建指定详细
message新
XPathException。
|
XPathException(Throwable cause)
构建与指定的
cause新
XPathException。
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
得到这个xpathexception原因。
|
void |
printStackTrace()
打印堆栈跟踪
System.err。
|
void |
printStackTrace(PrintStream s)
打印堆栈跟踪指定的
PrintStream。
|
void |
printStackTrace(PrintWriter s)
打印堆栈跟踪指定的
PrintWriter。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic XPathException(String message)
构建指定详细message新XPathException。
的cause未初始化。
如果message是null,然后NullPointerException抛出。
message -详细信息。
NullPointerException当
message是
null。
public XPathException(Throwable cause)
构建与指定的cause新XPathException。
如果cause是null,然后NullPointerException抛出。
cause的原因。
null
cause
NullPointerException。
public Throwable getCause()
得到这个xpathexception原因。
public void printStackTrace(PrintStream s)
打印堆栈跟踪指定的PrintStream。
printStackTrace 方法重写,继承类
Throwable
s打印堆栈跟踪,这
PrintStream。
public void printStackTrace()
打印堆栈跟踪System.err。
printStackTrace 方法重写,继承类
Throwable
public void printStackTrace(PrintWriter s)
打印堆栈跟踪指定的PrintWriter。
printStackTrace 方法重写,继承类
Throwable
s打印堆栈跟踪,这
PrintWriter。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.