public class XPathException extends RuntimeException
See also the Document Object Model (DOM) Level 3 XPath Specification.
| Modifier and Type | Field and Description |
|---|---|
short |
code
|
static short |
INVALID_EXPRESSION_ERR
If the expression has a syntax error or otherwise is not a legal expression according to the rules of the specific
XPathEvaluator or contains specialized extension functions or variables not supported by this implementation.
|
static short |
TYPE_ERR
If the expression cannot be converted to return the specified type.
|
| Constructor and Description |
|---|
XPathException(short code, String
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic short code
public static final short INVALID_EXPRESSION_ERR
XPathEvaluator or contains specialized extension functions or variables not supported by this implementation.
public static final short TYPE_ERR
public XPathException(short code,
String message)