KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > saxon > type > SchemaException


1
2 package net.sf.saxon.type;
3
4 import javax.xml.transform.SourceLocator JavaDoc;
5 import javax.xml.transform.TransformerConfigurationException JavaDoc;
6
7 /**
8  * An exception that identifies an error in reading, parsing, or
9  * validating a schema.
10  */

11
12 public class SchemaException extends TransformerConfigurationException JavaDoc {
13
14     /**
15      * Creates a new XMLException with no message
16      * or nested Exception.
17      */

18
19     public SchemaException() {
20         super();
21     }
22
23     public SchemaException(String JavaDoc message, SourceLocator JavaDoc locator) {
24         super(message, locator);
25     }
26
27     /**
28      * Creates a new XMLException with the given message.
29      *
30      * @param message the message for this Exception
31      */

32
33     public SchemaException(String JavaDoc message) {
34         super(message);
35     }
36
37     /**
38      * Creates a new XMLException with the given nested
39      * exception.
40      *
41      * @param exception the nested exception
42      */

43
44     public SchemaException(Exception JavaDoc exception) {
45         super(exception);
46     }
47
48     /**
49      * Creates a new XMLException with the given message
50      * and nested exception.
51      *
52      * @param message the detail message for this exception
53      * @param exception the nested exception
54      */

55
56     public SchemaException(String JavaDoc message, Exception JavaDoc exception) {
57         super(message, exception);
58     }
59
60 }
61
62 //
63
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
64
// you may not use this file except in compliance with the License. You may obtain a copy of the
65
// License at http://www.mozilla.org/MPL/
66
//
67
// Software distributed under the License is distributed on an "AS IS" basis,
68
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
69
// See the License for the specific language governing rights and limitations under the License.
70
//
71
// The Original Code is: all this file.
72
//
73
// The Initial Developer of the Original Code is Saxonica Limited
74
//
75
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
76
//
77
// Contributor(s): none
78
//
Popular Tags