KickJava   Java API By Example, From Geeks To Geeks.

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


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 ConcurrencyException messages.
29  *
30  * Creation date: (12/6/00 9:47:38 AM)
31  * @author: Xi Chen
32  */

33 public class ConcurrencyExceptionResource extends ListResourceBundle JavaDoc {
34     static final Object JavaDoc[][] contents = {
35                                            { "2001", "Wait was interrupted. {0}Message: [{1}]" },
36                                            { "2002", "Wait failure on ServerSession." },
37                                            { "2003", "Wait failure on ClientSession." },
38                                            { "2004", "A signal was attempted before wait() on ConcurrencyManager. This normally means that an attempt was made to {0}commit or rollback a transaction before it was started, or to rollback a transaction twice." },
39                                            { "2005", "Wait failure on Sequencing Connection Handler for DatabaseSession." },
40                                            { "2006", "Attempt to acquire sequencing values through a single Connection({0}) simultaneously in multiple threads" },
41                                            { "2007", "Max number of attempts to lock object: {0} exceded. Failed to clone the object." },
42                                            { "2008", "Max number of attempts to lock object: {0} exceded. Failed to merge the transaction." },
43                                            { "2009", "Max number of attempts to lock object exceded. Failed to build the object. Thread: {0} has a lock on the object but thread: {1} is building the object"}
44     };
45
46     /**
47      * Return the lookup table.
48      */

49     protected Object JavaDoc[][] getContents() {
50         return contents;
51     }
52 }
53
Popular Tags