Class XPathStylesheetDOM3Exception

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.transform.TransformerException
              extended by org.apache.xpath.domapi.XPathStylesheetDOM3Exception
All Implemented Interfaces:

public final class XPathStylesheetDOM3Exception
extends javax.xml.transform.TransformerException

A new exception to add support for DOM Level 3 XPath API. This class is needed to throw a org.w3c.dom.DOMException with proper error code in createExpression method of XPathEvaluatorImpl (a DOM Level 3 class). This class extends TransformerException because the error message includes information about where the XPath problem is in the stylesheet as well as the XPath expression itself.

See Also:
Serialized Form

Constructor Summary
XPathStylesheetDOM3Exception(java.lang.String msg, javax.xml.transform.SourceLocator arg1)
Method Summary
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


public XPathStylesheetDOM3Exception(java.lang.String msg,
                                    javax.xml.transform.SourceLocator arg1)