KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > standard > tag > common > xml > UnresolvableException


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.taglibs.standard.tag.common.xml;
17
18 import org.apache.xpath.XPathException;
19
20 /**
21  * <meta name="usage" content="general"/>
22  * Derived from XPathException in order that XPath processor
23  * exceptions may be specifically caught.
24  */

25 public class UnresolvableException extends XPathException {
26     /**
27      * Create an UnresolvableException object that holds
28      * an error message.
29      * @param message The error message.
30      */

31     public UnresolvableException(String JavaDoc message) {
32         super(message);
33     }
34     
35     /**
36      * Create an UnresolvableException object that holds
37      * an error message, and another exception
38      * that caused this exception.
39      * @param message The error message.
40      * @param e The exception that caused this exception.
41      */

42     public UnresolvableException(String JavaDoc message, Exception JavaDoc e) {
43         super(message, e);
44     }
45 }
46
Popular Tags