KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xpath > internal > domapi > XPathStylesheetDOM3Exception


1 /*
2  * Copyright (c) 2002 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE.
10  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11  */

12
13 package com.sun.org.apache.xpath.internal.domapi;
14
15 import javax.xml.transform.SourceLocator JavaDoc;
16 import javax.xml.transform.TransformerException JavaDoc;
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 TransformerException JavaDoc {
30     public XPathStylesheetDOM3Exception(String JavaDoc msg, SourceLocator JavaDoc arg1)
31     {
32         super(msg, arg1);
33     }
34 }
35
Popular Tags