java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.xpath.XPathException
javax.xml.xpath.XPathExpressionException
XPathExpressionException represents an error in an XPath expression.
| Constructor Summary | |
|---|---|
XPathExpressionException(Exception cause)
Constructs a new XPathExpressionException with the specified cause. |
|
XPathExpressionException(String message)
Constructs a new XPathExpressionException with the specified detail message. |
|
XPathExpressionException(String message,
Exception cause)
Constructs a new XPathExpressionException with the specified detail message and cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XPathExpressionException(String message)
Constructs a new XPathExpressionException with the specified detail message.
The cause is not initialized.
If message is null, then a NullPointerException is thrown.
message - The detail message.
NullPointerException - If message is null.public XPathExpressionException(Exception cause)
Constructs a new XPathExpressionException with the specified cause.
If cause is null, then a NullPointerException is thrown.
cause - The cause.
NullPointerException - if cause is null.
public XPathExpressionException(String message,
Exception cause)
Constructs a new XPathExpressionException with the specified detail message and cause.
If message is null, then a NullPointerException is thrown.
message - The detail message.cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.
NullPointerException - If message is null.