public class XPathException extends 异常
XPathException
表示泛型XPath例外。
Constructor and Description |
---|
XPathException(String message)
构建指定详细
message 新
XPathException 。
|
XPathException(Throwable cause)
构建与指定的
cause 新
XPathException 。
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
得到这个xpathexception原因。
|
void |
printStackTrace()
打印堆栈跟踪
System.err 。
|
void |
printStackTrace(PrintStream s)
打印堆栈跟踪指定的
PrintStream 。
|
void |
printStackTrace(PrintWriter s)
打印堆栈跟踪指定的
PrintWriter 。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public XPathException(String message)
构建指定详细message
新XPathException
。
的cause
未初始化。
如果message
是null
,然后NullPointerException
抛出。
message
-详细信息。
NullPointerException
当
message
是
null
。
public XPathException(Throwable cause)
构建与指定的cause
新XPathException
。
如果cause
是null
,然后NullPointerException
抛出。
cause
的原因。
null
cause
NullPointerException
。
public Throwable getCause()
得到这个xpathexception原因。
public void printStackTrace(PrintStream s)
打印堆栈跟踪指定的PrintStream
。
printStackTrace
方法重写,继承类
Throwable
s
打印堆栈跟踪,这
PrintStream
。
public void printStackTrace()
打印堆栈跟踪System.err
。
printStackTrace
方法重写,继承类
Throwable
public void printStackTrace(PrintWriter s)
打印堆栈跟踪指定的PrintWriter
。
printStackTrace
方法重写,继承类
Throwable
s
打印堆栈跟踪,这
PrintWriter
。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.