javax.xml.xpath

Class XPathException

Known Direct Subclasses:
XPathExpressionException, XPathFactoryConfigurationException

public class XPathException
extends Exception

XPathException represents a generic XPath exception.
Version:
$Revision: 226234 $, $Date: 2005-06-14 21:19:27 +0200 (Tue, 14 Jun 2005) $
Authors:
Norman Walsh
Jeff Suttor
Since:
1.5

Constructor Summary

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

Method Summary

Throwable
getCause()
void
printStackTrace()
void
printStackTrace(PrintWriter s)
void
printStackTrace(java.io.PrintStream s)

Constructor Details

XPathException

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

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters:
message - The detail message.

XPathException

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

If cause is null, then a NullPointerException is thrown.

Parameters:
cause - The cause.

Method Details

getCause

public Throwable getCause()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintWriter s)

printStackTrace

public void printStackTrace(java.io.PrintStream s)