net.sf.saxon.xpath
Class XPathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.xml.transform.TransformerException
              extended bynet.sf.saxon.xpath.XPathException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XPathException.Dynamic, XPathException.Static, XPathException.Type

public abstract class XPathException
extends TransformerException

XPathException is used to indicate an error in an XPath expression. We don't distinguish compile-time errors from run-time errors because there are too many overlaps, e.g. constant expressions can be evaluated at compile-time, and expressions can be optimised either at compile-time or at run-time.

See Also:
Serialized Form

Nested Class Summary
static class XPathException.Circularity
          Subclass used to report circularities
static class XPathException.Dynamic
          Subclass used for dynamic errors
static class XPathException.Static
          Subclass used for static errors
static class XPathException.Type
          Subclass used for type errors
 
Field Summary
 
Fields inherited from class javax.xml.transform.TransformerException
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
XPathException(String message)
           
XPathException(String message, SourceLocator loc)
           
XPathException(String message, Throwable err)
           
XPathException(Throwable err)
           
 
Methods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathException

public XPathException(String message)

XPathException

public XPathException(Throwable err)

XPathException

public XPathException(String message,
                      Throwable err)

XPathException

public XPathException(String message,
                      SourceLocator loc)