KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > apache > xerces > msg > ExceptionMessages


1 /*
2  * The Apache Software License, Version 1.1
3  *
4  *
5  * Copyright (c) 1999,2000 The Apache Software Foundation. All rights
6  * reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * 1. Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  *
15  * 2. Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in
17  * the documentation and/or other materials provided with the
18  * distribution.
19  *
20  * 3. The end-user documentation included with the redistribution,
21  * if any, must include the following acknowledgment:
22  * "This product includes software developed by the
23  * Apache Software Foundation (http://www.apache.org/)."
24  * Alternately, this acknowledgment may appear in the software itself,
25  * if and wherever such third-party acknowledgments normally appear.
26  *
27  * 4. The names "Xerces" and "Apache Software Foundation" must
28  * not be used to endorse or promote products derived from this
29  * software without prior written permission. For written
30  * permission, please contact apache@apache.org.
31  *
32  * 5. Products derived from this software may not be called "Apache",
33  * nor may "Apache" appear in their name, without prior written
34  * permission of the Apache Software Foundation.
35  *
36  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
37  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
38  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
39  * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
40  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
43  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
44  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
46  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47  * SUCH DAMAGE.
48  * ====================================================================
49  *
50  * This software consists of voluntary contributions made by many
51  * individuals on behalf of the Apache Software Foundation and was
52  * originally based on software copyright (c) 1999, International
53  * Business Machines, Inc., http://www.apache.org. For more
54  * information on the Apache Software Foundation, please see
55  * <http://www.apache.org/>.
56  */

57
58 package org.enhydra.apache.xerces.msg;
59
60 import java.util.ListResourceBundle JavaDoc;
61
62 /**
63  * This file contains error and warning messages to be localized
64  * The messages are arranged in key and value tuples in a ListResourceBundle.
65  *
66  * @version $Id: ExceptionMessages.java,v 1.1.1.1 2003/03/10 16:34:34 taweili Exp $
67  */

68 public class ExceptionMessages extends ListResourceBundle JavaDoc {
69     /** The list resource bundle contents. */
70     public static final Object JavaDoc CONTENTS[][] = {
71     
72     // org.enhydra.apache.xerces.msg.ExceptionMessageLocalizer
73
{ "FMT001", "Message Formatting Error." },
74     
75
76     // org.enhydra.apache.html
77

78     { "HTM001", "State error: startDocument fired twice on one builder." },
79     { "HTM002", "State error: document never started or missing document element." },
80     { "HTM003", "State error: document ended before end of document element." },
81     { "HTM004", "Argument ''tagName'' is null." },
82     { "HTM005", "State error: Document.getDocumentElement returns null." },
83     { "HTM006", "State error: startElement called after end of document element." },
84     { "HTM007", "State error: endElement called with no current node." },
85     { "HTM008", "State error: mismatch in closing tag name {0}" },
86     { "HTM009", "State error: character data found outside of root element." },
87     { "HTM010", "State error: character data found outside of root element." },
88     { "HTM011", "Argument ''topLevel'' is null." },
89     { "HTM012", "Argument ''index'' is negative." },
90     { "HTM013", "Argument ''name'' is null." },
91     { "HTM014", "Argument ''title'' is null." },
92     { "HTM015", "Tag ''{0}'' associated with an Element class that failed to construct." },
93     { "HTM016", "Argument ''caption'' is not an element of type <CAPTION>." },
94     { "HTM017", "Argument ''tHead'' is not an element of type <THEAD>." },
95     { "HTM018", "Argument ''tFoot'' is not an element of type <TFOOT>." },
96     { "HTM019", "OpenXML Error: Could not find class {0} implementing HTML element {1}" },
97
98     // org.enhydra.apache.xml.serialize
99

100     { "SER001", "Argument ''output'' is null." },
101     { "SER002", "No writer supplied for serializer" },
102     { "SER003", "The resource [{0}] could not be found." },
103     { "SER004", "The resource [{0}] could not load: {1}" },
104     { "SER005", "The method ''{0}'' is not supported by this factory" },
105
106     // org.enhydra.apache.xerces.dom
107

108     { "DOM001", "Modification not allowed" },
109     { "DOM002", "Illegal character" },
110     { "DOM003", "Namespace error" },
111     { "DOM004", "Index out of bounds" },
112     { "DOM005", "Wrong document" },
113     { "DOM006", "Hierarchy request error" },
114     { "DOM007", "Not supported" },
115     { "DOM008", "Not found" },
116     { "DOM009", "Attribute already in use" },
117     { "DOM010", "Unspecified event type" },
118     { "DOM011", "Invalid state" },
119     { "DOM012", "Invalid node type" },
120     { "DOM013", "Bad boundary points" },
121
122     // org.enhydra.apache.xerces.framework
123
{ "FWK001", "{0}] scannerState: {1}" },
124     { "FWK002", "{0}] popElementType: fElementDepth-- == 0." },
125     { "FWK003", "TrailingMiscDispatcher.endOfInput moreToFollow" },
126     { "FWK004", "cannot happen: {0}" },
127     { "FWK005", "parse may not be called while parsing." },
128     { "FWK006", "setLocale may not be called while parsing." },
129     { "FWK007", "Unknown error domain \"{0}\"." },
130     { "FWK008", "Element stack underflow." },
131         
132     // org.enhydra.apache.xerces.parsers
133
{ "PAR001", "Fatal error constructing DOMParser." },
134     { "PAR002", "Class, \"{0}\", is not of type org.w3c.dom" },
135     { "PAR003", "Class, \"{0}\", not found." },
136     { "PAR004", "Cannot setFeature({0}): parse is in progress." },
137     { "PAR005", "Property, \"{0}\" is read-only." },
138     { "PAR006", "Property value must be of type java.lang.String." },
139     { "PAR007", "Current element node cannot be queried when node expansion is deferred." },
140     { "PAR008", "Fatal error getting document factory." },
141     { "PAR009", "Fatal error reading expansion mode." },
142     { "PAR010", "Can''t copy node type, {0} ({1})." },
143     { "PAR011", "Feature {0} not supported during parse." },
144     { "PAR012", "For propertyId \"{0}\", the value \""+
145                 "{1}\" cannot be cast to {2}." },
146     { "PAR013", "Property \"{0}\" is read only." },
147     { "PAR014", "Cannot getProperty(\"{0}\". No DOM tree exists." },
148     { "PAR015", "startEntityReference(): ENTITYTYPE_UNPARSED" },
149     { "PAR016", "endEntityReference(): ENTITYTYPE_UNPARSED" },
150     { "PAR017", "cannot happen: {0}" },
151     
152     // org.enhydra.apache.xerces.readers
153

154     { "RDR001", "untested" },
155     { "RDR002", "cannot happen" },
156             
157     //org.enhydra.apache.xerces.utils
158
{ "UTL001", "untested" },
159     { "UTL002", "cannot happen" },
160
161     //org.enhydra.apache.xerces.validators
162

163     { "VAL001", "Element stack underflow" },
164     { "VAL002", "getValidatorForAttType ({0})" },
165     { "VAL003", "cannot happen" }
166
167         
168     };
169     /** Returns the list resource bundle contents. */
170
171     public Object JavaDoc[][] getContents() {
172         return CONTENTS;
173     }
174 }
175
Popular Tags