org.ucl.xpath
Class XPathError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.ucl.xpath.XPathError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CupError, JFlexError

public class XPathError
extends java.lang.Error

This error is thrown when there is a problem with an XPath exception.

See Also:
Serialized Form

Constructor Summary
XPathError(java.lang.String reason)
          Constructor for XPathError
 
Method Summary
 java.lang.String reason()
          The reason why the error has been thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathError

public XPathError(java.lang.String reason)
Constructor for XPathError

Parameters:
reason - Is the reason why the error has been thrown.
Method Detail

reason

public java.lang.String reason()
The reason why the error has been thrown.

Returns:
the reason why the error has been throw.