01: package net.sf.saxon.om;
02:
03: /**
04: * A QNameException represents an error condition whereby a QName (for example a variable
05: * name or template name) is malformed
06: */
07:
08: public class QNameException extends Exception {
09:
10: String message;
11:
12: public QNameException(String message) {
13: this .message = message;
14: }
15:
16: public String getMessage() {
17: return message;
18: }
19:
20: }
21:
22: //
23: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
24: // you may not use this file except in compliance with the License. You may obtain a copy of the
25: // License at http://www.mozilla.org/MPL/
26: //
27: // Software distributed under the License is distributed on an "AS IS" basis,
28: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
29: // See the License for the specific language governing rights and limitations under the License.
30: //
31: // The Original Code is: all this file.
32: //
33: // The Initial Developer of the Original Code is Michael H. Kay
34: //
35: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
36: //
37: // Contributor(s): none
38: //
|