KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > icl > saxon > expr > XPathException


1 package com.icl.saxon.expr;
2 import javax.xml.transform.TransformerException JavaDoc;
3
4 /**
5 * XPathException is used to indicate an error in an XPath expression.
6 * We don't distinguish compile-time errors from run-time errors because there are
7 * too many overlaps, e.g. constant expressions can be evaluated at compile-time, and
8 * expressions can be optimised either at compile-time or at run-time.
9 */

10
11 public class XPathException extends TransformerException JavaDoc {
12
13     public XPathException(String JavaDoc message) {
14         super(message);
15     }
16
17     public XPathException(Exception JavaDoc err) {
18         super(err);
19     }
20
21     public XPathException(String JavaDoc message, Exception JavaDoc err) {
22         super(message, err);
23     }
24
25 }
26
27 //
28
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
29
// you may not use this file except in compliance with the License. You may obtain a copy of the
30
// License at http://www.mozilla.org/MPL/
31
//
32
// Software distributed under the License is distributed on an "AS IS" basis,
33
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
34
// See the License for the specific language governing rights and limitations under the License.
35
//
36
// The Original Code is: all this file.
37
//
38
// The Initial Developer of the Original Code is
39
// Michael Kay of International Computers Limited (mhkay@iclway.co.uk).
40
//
41
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
42
//
43
// Contributor(s): none.
44
//
45
Popular Tags