Top Description Fields Constructors Methods
org.dom4j

public Class XPathException

extends RuntimeException
Class Inheritance

XPathException is thrown when an exception occurs while evaluating an XPath expression, usually due to some function throwing an exception.
Version
$Revision: 1.6 $

Field Summary

Modifier and TypeField and Description
private String
xpath

The XPath expression that caused the exception

Constructor Summary

AccessConstructor and Description
public
public
XPathException(String xpath, String reason)

public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

DOCUMENT ME!
getXPath
()

Returns the XPath expression that caused the problem

Field Detail

xpathback to summary
private String xpath

The XPath expression that caused the exception

Constructor Detail

XPathExceptionback to summary
public XPathException(String xpath)
XPathExceptionback to summary
public XPathException(String xpath, String reason)
XPathExceptionback to summary
public XPathException(String xpath, Exception e)

Method Detail

getXPathback to summary
public String getXPath()

Returns the XPath expression that caused the problem

Returns:String

DOCUMENT ME!