Java Doc for XPathException.java in » XML » saxonb » net » sf » saxon » trans » Java Source Code / Java DocumentationJava Source Code and Java Documentation
XPathException is used to indicate an error in an XPath expression.
We don't distinguish compile-time errors from run-time errors because there are
too many overlaps, e.g. constant expressions can be evaluated at compile-time, and
expressions can be optimised either at compile-time or at run-time.
Inner Class :public static class Circularity extends DynamicError
Set the error code. The error code is a QName; this method sets the local part of the name,
and if no other namespace has been set, it sets the namespace of the error code to the standard
system namespace
NamespaceConstant.ERR Parameters: code - The local part of the name of the error code
Set the error code. The error code is a QName; this method sets both parts of the name.
Parameters: namespace - The namespace URI part of the name of the error code Parameters: code - The local part of the name of the error code