Class XPathStylesheetDOM3Exception

  • All Implemented Interfaces:
    java.io.Serializable

    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

      Constructors 
      Constructor Description
      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

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XPathStylesheetDOM3Exception

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