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未初始化。

如果 messagenull ,则引发 NullPointerException

Parameters
message String: The detail message.

XPathExpressionException

Added in API level 8
XPathExpressionException (Throwable cause)

构造一个新 XPathExpressionException与指定 cause

如果 causenull ,则引发 NullPointerException

Parameters
cause Throwable: The cause.
Throws
NullPointerException if cause is null.

Hooray!