Most visited

Recently visited

Added in API level 8

XPathExpressionException

public class XPathExpressionException
extends XPathException

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        javax.xml.xpath.XPathException
          javax.xml.xpath.XPathExpressionException
Known Direct Subclasses


XPathExpressionException表示XPath表达式中的错误。

摘要(Summary)

Public constructors

XPathExpressionException(String message)

构造一个新 XPathExpressionException带指定详细 message 。

XPathExpressionException(Throwable cause)

构造一个新 XPathExpressionException与指定 cause 。

继承方法(Inherited methods)

From class javax.xml.xpath.XPathException
From class java.lang.Throwable
From class java.lang.Object

Public constructors

XPathExpressionException

Added in API level 8
XPathExpressionException (String message)

构造一个新 XPathExpressionException带指定详细 message 。

cause未初始化。

如果 message是 null ,则引发 NullPointerException 。

参数(Parameters)
message String: The detail message.

XPathExpressionException

Added in API level 8
XPathExpressionException (Throwable cause)

构造一个新 XPathExpressionException与指定 cause 。

如果 cause是 null ,则引发 NullPointerException 。

参数(Parameters)
cause Throwable: The cause.
抛出异常(Throws)
NullPointerException if cause is null.

Hooray!