|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.xpath.XPathException
public class XPathException
XPathException 表示通用 XPath 異常。
| 建構子摘要 | |
|---|---|
XPathException(String message)
建構帶指定詳細 message 的新 XPathException。 |
|
XPathException(Throwable cause)
建構帶指定 cause 的新 XPathException。 |
|
| 方法摘要 | |
|---|---|
Throwable |
getCause()
獲取此 XPathException 的 cause。 |
void |
printStackTrace()
將堆疊(stack)空間追蹤列印到 System.err。 |
void |
printStackTrace(PrintStream s)
將堆疊(stack)空間追蹤列印到指定的 PrintStream。 |
void |
printStackTrace(PrintWriter s)
將堆疊(stack)空間追蹤列印到指定的 PrintWriter。 |
| 從類別 java.lang.Throwable 繼承的方法 |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public XPathException(String message)
建構帶指定詳細 message 的新 XPathException。
cause 未初始化。
如果 message 為 null,則拋出 NullPointerException。
message - 詳細訊息。
NullPointerException - 當 message 為 null 時。public XPathException(Throwable cause)
建構帶指定 cause 的新 XPathException。
如果 cause 為 null,則拋出 NullPointerException。
cause - cause
NullPointerException - 如果 cause 為 null。| 方法詳細資訊 |
|---|
public Throwable getCause()
獲取此 XPathException 的 cause。
Throwable 中的 getCausepublic void printStackTrace(PrintStream s)
將堆疊(stack)空間追蹤列印到指定的 PrintStream。
Throwable 中的 printStackTraces - 將堆疊(stack)空間追蹤列印到此 PrintStream。public void printStackTrace()
將堆疊(stack)空間追蹤列印到 System.err。
Throwable 中的 printStackTracepublic void printStackTrace(PrintWriter s)
將堆疊(stack)空間追蹤列印到指定的 PrintWriter。
Throwable 中的 printStackTraces - 將堆疊(stack)空間追蹤列印到此 PrintWriter。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。