01: /*
02: * Copyright 1999-2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: /*
17: * $Id: XPathProcessorException.java,v 1.7 2004/08/17 19:25:33 jycli Exp $
18: */
19: package org.apache.xpath;
20:
21: /**
22: * Derived from XPathException in order that XPath processor
23: * exceptions may be specifically caught.
24: * @xsl.usage general
25: */
26: public class XPathProcessorException extends XPathException {
27: static final long serialVersionUID = 1215509418326642603L;
28:
29: /**
30: * Create an XPathProcessorException object that holds
31: * an error message.
32: * @param message The error message.
33: */
34: public XPathProcessorException(String message) {
35: super (message);
36: }
37:
38: /**
39: * Create an XPathProcessorException object that holds
40: * an error message, and another exception
41: * that caused this exception.
42: * @param message The error message.
43: * @param e The exception that caused this exception.
44: */
45: public XPathProcessorException(String message, Exception e) {
46: super(message, e);
47: }
48: }
|