JavaTM 2 Platform
Standard Ed. 6

javax.xml.xpath
类 XPathExpressionException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 javax.xml.xpath.XPathException
              继承者 javax.xml.xpath.XPathExpressionException
所有已实现的接口:
Serializable
直接已知子类:
XPathFunctionException

public class XPathExpressionException
extends XPathException

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

从以下版本开始:
1.5
另请参见:
序列化表格

构造方法摘要
XPathExpressionException(String message)
          构造带指定详细 message 的新 XPathExpressionException
XPathExpressionException(Throwable cause)
          构造带指定 cause 的新 XPathExpressionException
 
方法摘要
 
从类 javax.xml.xpath.XPathException 继承的方法
getCause, printStackTrace, printStackTrace, printStackTrace
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

XPathExpressionException

public XPathExpressionException(String message)

构造带指定详细 message 的新 XPathExpressionException

cause 未初始化。

如果 messagenull,则抛出 NullPointerException

参数:
message - 详细消息。
抛出:
NullPointerException - 当 messagenull 时。

XPathExpressionException

public XPathExpressionException(Throwable cause)

构造带指定 cause 的新 XPathExpressionException

如果 causenull,则抛出 NullPointerException

参数:
cause - 原因
抛出:
NullPointerException - 如果 causenull

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only