Class XPathException


class XPathException
Exception throw when parser or expression fails.

See http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException.

Authors:
Henrik Lindqvist <henrik.lindqvist@llamalab.com>
Defined in XPath.js

Property Summary
static read number INVALID_EXPRESSION_ERR
Expression syntax error.
static read number NAMESPACE_ERR
Namespace error.
static read number TYPE_ERR
Result type error.
read number code
Exception code.
read string message
Exception message.
read string name
Exception name.

Constructor Summary
XPathException(number c, string m)
XPathException constructor.

Property Details

property static read number INVALID_EXPRESSION_ERR

Expression syntax error.

property static read number NAMESPACE_ERR

Namespace error.

property static read number TYPE_ERR

Result type error.

property read number code

Exception code.

property read string message

Exception message.

property read string name

Exception name.

Constructor Details

constructor XPathException

XPathException(number c, string m)
XPathException constructor.
Parameters:
c - error code.
m - error message.