javax.xml.xpath

Class XPathExpressionException

Known Direct Subclasses:
XPathFunctionException

public class XPathExpressionException
extends XPathException

XPathExpressionException represents an error in an XPath expression.
Version:
$Revision: 226183 $, $Date: 2005-04-08 12:39:14 +0200 (Fri, 08 Apr 2005) $
Authors:
Norman Walsh
Jeff Suttor
Since:
1.5

Constructor Summary

XPathExpressionException(String message)
Constructs a new XPathExpressionException with the specified detail message.
XPathExpressionException(Throwable cause)
Constructs a new XPathExpressionException with the specified cause.

Method Summary

Methods inherited from class javax.xml.xpath.XPathException

getCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

XPathExpressionException

public XPathExpressionException(String message)
Constructs a new XPathExpressionException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters:
message - The detail message.

XPathExpressionException

public XPathExpressionException(Throwable cause)
Constructs a new XPathExpressionException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters:
cause - The cause.