KickJava   Java API By Example, From Geeks To Geeks.

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


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, 2005, 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 DeploymentException messages.
29  *
30  * Creation date: (2/26/01 9:47:38 AM)
31  * @author: TopLink maintenance team
32  */

33 public class DeploymentExceptionResource extends ListResourceBundle JavaDoc {
34     static final Object JavaDoc[][] contents = {
35                                            { "14001", "No TopLink project was specified for this bean." },
36                                            { "14003", "No TopLink project was found to be associated with the given identifier: [{0}]" },
37                                            { "14004", "An error occurred while instantiating the DeploymentCustomization class [{0}]. {1}[{2}]" },
38                                            { "14005", "An error occurred while running the DeploymentCustomization class [{0}]. {1}[{2}]" },
39                                            { "14007", "Invalid transaction isolation string: [{0}]" },
40                                            { "14008", "Invalid cache usage: [{0}]" },
41                                            { "14011", "Unable to create the InitialContext to connect to the specified dataSource [{0}]: [{1}]" },
42                                            { "14016", "An error occurred while setting up the project: [{0}]" },
43                                            { "14019", "Deployment descriptor {0} was not found" },
44                                            { "14020", "Error reading deployment descriptor {0}: [{1}]" },
45                                            { "14022", "An error occurred while configuring the descriptor for the bean [{0}]. " + "The project is set to use remote relationships but the bean does not contain " + "a remote home interface. Add the correct remoteHome and remote bean interfaces " + "or change the project to use local relationships by removing the " + "<use-remote-relationships> tag in the toplink-ejb-jar.xml or setting it to false." },
46                                            { "14023", "Could not find the generated subclass for the bean {0}. " + "Make sure you've run ejbc to create the deployable jar file if you have " + "added any new beans to your project." },
47                                            { "14024", "Could not read TopLink project during CMP concrete classes code generation" },
48                                            { "14026", "For EJB2.0 descriptors, mapping for the attribute [{0}], in the class [{1}], must use Transparent indirection." },
49                                            { "14027", "For EJB2.0 descriptors, one-to-one mapping for the attribute [{0}], in the class [{1}], must use ValueHolder indirection." },
50                                            { "14028", "The descriptor for [{0}] does not contain a corresponding mapping for the container managed attribute [{1}]." },
51                                            { "14029", "The finder {0} is declared in the ejb-jar.xml but not defined on the [{1}] home interface. " },
52                                            { "14030", "The ejbSelect method {0} is declared in the ejb-jar.xml but not defined on the [{1}] abstract bean class. " },
53                                            { "14031", "The cmp field [{0} is declared in the ejb-jar.xml but not defined on the bean [{1}]" },
54                                            { "14032", "The cmp field [{0}] is declared in the ejb-jar.xml but the " + "corresponding abstract getter and/or setter is not defined on the [{1}] abstract bean class." },
55                                            { "14033", "The descriptor for [{0}] is missing." }
56     };
57
58     /**
59      * Return the lookup table.
60      */

61     protected Object JavaDoc[][] getContents() {
62         return contents;
63     }
64 }
65
Popular Tags