Name

XPathExpressionException

Synopsis

Exceptions of this type indicate an error while compiling or evaluating an XPath expression. See the compile( ) and evaluate( ) methods of XPath and XPathExpression.

javax.xml.xpath.XPathExpressionException

Figure 20-20. javax.xml.xpath.XPathExpressionException

public class XPathExpressionException extends XPathException {
// Public Constructors
     public XPathExpressionException(Throwable cause);  
     public XPathExpressionException(String message);  
}

Subclasses

XPathFunctionException

Thrown By

XPath.{compile( ), evaluate( )}, XPathExpression.evaluate( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.