javax.xml.xpath

Class XPathExpressionException

public class XPathExpressionException extends XPathException

XPathExpressionException represents an error in an XPath expression.

Since: 1.5

Version: $Revision: 226183 $, $Date: 2005-04-08 06:39:14 -0400 (Fri, 08 Apr 2005) $

Author: Norman Walsh Jeff Suttor

Constructor Summary
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.

XPathExpressionException(Throwable cause)

Constructs a new XPathExpressionException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Constructor Detail

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.

Throws: NullPointerException if cause is null.