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

如果 message 為 null,則拋出 NullPointerException。

參數:
message - 詳細訊息。
拋出:
NullPointerException - 當 message 為 null 時。

XPathExpressionException

public XPathExpressionException(Throwable cause)

建構帶指定 cause 的新 XPathExpressionException。

如果 cause 為 null,則拋出 NullPointerException。

參數:
cause - 原因
拋出:
NullPointerException - 如果 cause 為 null。

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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