public class XPathExpressionException extends XPathException
XPathExpressionException表示XPath表达式中的错误。
| Constructor and Description |
|---|
XPathExpressionException(String message)
构造一个新的
XPathExpressionException与指定的细节
message 。
|
XPathExpressionException(Throwable cause)
构造一个新的
XPathExpressionException与指定的
cause 。
|
getCause, printStackTrace, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic XPathExpressionException(String message)
构造一个新的XPathExpressionException与指定的细节message 。
cause未初始化。
如果message是null ,那么会抛出一个NullPointerException 。
message - 详细信息。
NullPointerException -
message为
null 。
public XPathExpressionException(Throwable cause)
构造一个新的XPathExpressionException与指定的cause 。
如果cause是null ,那么抛出一个NullPointerException 。
cause - 原因。
NullPointerException - if
cause is
null.
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.