public XPathException(code as Int = XPathException.INVALID_EXPRESSION_ERR, message as String = "XPath exception"):
Creates an XPath exception.
| Parameter | Description |
|---|---|
code | Numeric XPath error code. |
message | Diagnostic message. |
error = XPathException(XPathException.TYPE_ERR, "Expected a node result")