01: /*
02: * Copyright (c) 2002 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE.
10: * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11: */
12:
13: package org.apache.xpath.domapi;
14:
15: import javax.xml.transform.SourceLocator;
16: import javax.xml.transform.TransformerException;
17:
18: /**
19: *
20: * A new exception to add support for DOM Level 3 XPath API.
21: * This class is needed to throw a org.w3c.dom.DOMException with proper error code in
22: * createExpression method of XPathEvaluatorImpl (a DOM Level 3 class).
23: *
24: * This class extends TransformerException because the error message includes information
25: * about where the XPath problem is in the stylesheet as well as the XPath expression itself.
26: *
27: * @xsl.usage internal
28: */
29: final public class XPathStylesheetDOM3Exception extends
30: TransformerException {
31: public XPathStylesheetDOM3Exception(String msg, SourceLocator arg1) {
32: super(msg, arg1);
33: }
34: }
|