Name

XPathException

Synopsis

This is the common superclass of all XPath-related exception types.

javax.xml.xpath.XPathException

Figure 20-19. javax.xml.xpath.XPathException

public class XPathException extends Exception {
// Public Constructors
     public XPathException(Throwable cause);  
     public XPathException(String message);  
// Public Methods Overriding Throwable
     public Throwable getCause( );  
     public void printStackTrace( );  
     public void printStackTrace(java.io.PrintWriter s);  
     public void printStackTrace(java.io.PrintStream s);  
}

Subclasses

XPathExpressionException, XPathFactoryConfigurationException

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.