KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > oracle > toplink > essentials > exceptions > i18n > EJBQLExceptionResource


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the "License"). You may not use this file except
5  * in compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * glassfish/bootstrap/legal/CDDLv1.0.txt or
9  * https://glassfish.dev.java.net/public/CDDLv1.0.html.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * HEADER in each file and include the License file at
15  * glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16  * add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your
18  * own identifying information: Portions Copyright [yyyy]
19  * [name of copyright owner]
20  */

21 // Copyright (c) 1998, 2006, Oracle. All rights reserved.
22
package oracle.toplink.essentials.exceptions.i18n;
23
24 import java.util.ListResourceBundle JavaDoc;
25
26 /**
27  * INTERNAL:
28  * English ResourceBundle for EJBQLException.
29  *
30  */

31 public class EJBQLExceptionResource extends ListResourceBundle JavaDoc {
32     static final Object JavaDoc[][] contents = {
33                                            { "8001", "Syntax Recognition Problem parsing the query [{0}]. The parser returned the following [{1}]." },
34                                            { "8002", "General Problem parsing the query [{0}]. The parser returned the following [{1}]." },
35                                            { "8003", "The class [{0}] was not found. The parser returned the following [{1}]." },
36                                            { "8004", "A parsing problem was encountered resolving the alias - [{0}]." },
37                                            { "8006", "A problem was encountered resolving the class name - The descriptor for [{0}] was not found." },
38                                            { "8005", "A problem was encountered resolving the class name - The class [{0}] was not found." },
39                                            { "8007", "A problem was encountered resolving the class name - The mapping for [{0}] was not found." },
40                                            { "8008", "A problem was encountered building the query expression - The expressionBuilder for [{0}] was not found." },
41                                            { "8009", "The expression [{0}] is currently not supported." },
42                                            { "8010", "General Problem parsing the query [{0}]." },
43                                            { "8011", "Invalid collection member declaration [{0}], expected collection valued association-field." },
44                                            { "8012", "Not yet implemented: {0}." },
45                                            { "8013", "Constructor class ''{0}'' not found." },
46                                            { "8014", "Invalid SIZE argument [{0}], expected collection valued association-field." },
47                                            { "8015", "Invalid enum literal. The enum type {0} does not have an enum constant {1}." },
48                                            { "8016", "Invalid SELECT expression [{0}] for query with grouping [{1}]. Only aggregates, GROUP BY items or constructor expressions of these are allowed in the SELECT clause of a GROUP BY query." },
49                                            { "8017", "Invalid HAVING expression [{0}] for query with grouping [{1}]. The HAVING clause must specify search conditions over the grouping items or aggregate functions that apply to grouping items." },
50                                            { "8018", "Invalid multiple use of parameter [{0}] assuming different parameter types [{1}] and [{2}]." },
51                                            { "8019", "Multiple declaration of identification variable [{0}], previously declared as [{1} {0}]." },
52                                            { "8020", "Invalid {0} function argument [{1}], expected argument of type [{2}]." },
53                                            { "8021", "Invalid ORDER BY item [{0}] of type [{1}], expected expression of an orderable type." },
54                                            { "8022", "Invalid {0} expression argument [{1}], expected argument of type [{2}]." },
55                                            { "8023", "Syntax error parsing the query [{0}]." },
56                                            { "8024", "Syntax error parsing the query [{0}] at [{1}]." },
57                                            { "8025", "Syntax error parsing the query [{0}], unexpected token [{1}]." },
58                                            { "8026", "Syntax error parsing the query [{0}], unexpected char [{1}]." },
59                                            { "8027", "Syntax error parsing the query [{0}], expected char [{1}], found [{1}]." },
60                                            { "8028", "Syntax error parsing the query [{0}], unexpected end of query." },
61                                            { "8029", "Invalid navigation expression [{0}], cannot navigate expression [{1}] of type [{2}] inside a query." },
62                                            { "8030", "Unknown state or association field [{0}] of class [{1}]." },
63                                            { "8031", "{0} of embedded entity {1} is not supported." }
64     };
65
66     /**
67     * Return the lookup table.
68     */

69     protected Object JavaDoc[][] getContents() {
70         return contents;
71     }
72 }
73
Popular Tags