KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jts > CosTransactions > Messages_en_US


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 in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
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 Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
26  * Use is subject to license terms.
27  */

28
29 //----------------------------------------------------------------------------
30
//
31
// Module: Messages_en_US.java
32
//
33
// Description: JTS messages, US English (for testing purposes).
34
//
35
// Product: com.sun.jts.CosTransactions
36
//
37
// Author: Simon Holdsworth
38
//
39
// Date: March, 1997
40
//
41
// Copyright (c): 1995-1997 IBM Corp.
42
//
43
// The source code for this program is not published or otherwise divested
44
// of its trade secrets, irrespective of what has been deposited with the
45
// U.S. Copyright Office.
46
//
47
// This software contains confidential and proprietary information of
48
// IBM Corp.
49
//----------------------------------------------------------------------------
50

51 package com.sun.jts.CosTransactions;
52
53 /**
54  * This class provides a ListResourceBundle which contains the message formats
55  * for messages produced by the JTS. It is an example which can be copied for
56  * other languages.
57  *
58  * @version 0.01
59  *
60  * @author Simon Holdsworth, IBM Corporation
61  *
62  * @see
63  */

64
65 //----------------------------------------------------------------------------
66
// CHANGE HISTORY
67
//
68
// Version By Change Description
69
// 0.01 SAJH Initial implementation.
70
//----------------------------------------------------------------------------
71

72 public class Messages_en_US extends Messages {
73     /**
74      * Return the contents of the bundle.
75      */

76     protected Object JavaDoc[][] getContents() { return contents; }
77
78     /**
79      * The message formats.
80      */

81     private static final Object JavaDoc[][] contents = {
82
83         // Required messages.
84

85         { "", "Unknown message number {0}." },
86         { "", "Invalid message format for message number {0}." },
87
88         // Application messages.
89

90         { "000", "The ORB daemon, ORBD, is not running." },
91         { "001", "(US) This is a non-persistent server. " +
92                  "Transactions will not be recoverable." },
93         { "002", "Cannot register {0} instance with the ORB." },
94         { "003", "Cannot initialise log." },
95         { "004", "Cannot open log file for server {0}." },
96         { "005", "Cannot create {0} object reference." },
97         { "006", "Cannot destroy {0} object reference." },
98         { "007", "Already identified to communications manager." },
99         { "008", "Unable to identify to communications manager." },
100         { "009", "Unable to create a subordinate Coordinator." },
101         { "010", "Exception {0} recovering an in-doubt Coordinator." },
102         { "011", "Exception {0} on {1} operation during resync." },
103         { "012", "Exception {0} on {1} resource operation." },
104         { "013", "Retry limit of {0} {1} operations exceeded." },
105         { "014", "Exception {0} on {1} synchronization operation." },
106         { "015", "Timeout thread stopped." },
107         { "016", "Invalid log path. Using {0}." },
108         { "017", "Invalid default log path. Using current directory." },
109         { "018", "Cannot access server information for server {0}." },
110         { "019", "Cannot access global information." },
111         { "020", "" },
112         { "021", "Unexpected exception {0} from log." },
113         { "022", "Defaulting to current directory for trace." },
114         { "023", "Invalid repository path. Using {0}." },
115         { "024", "Invalid default repository path. Using current directory." },
116         { "025", "Cannot read repository file." },
117         { "026", "Cannot locate {0} servant." },
118         { "027", "Heuristic exception {0} cannot be reported to superior " +
119                  "in resync." },
120         { "028", "Wait for resync complete interrupted." },
121         { "029", "Transaction in the wrong state for {0} operation." },
122         { "030", "Unable to store information in repository." },
123         { "031", "xa_close operation failed during recovery." },
124         { "032", "Could not reconstruct XA information during recovery." },
125         { "033", "XA Resource Manager string {0} is invalid." },
126         { "034", "XA Resource Manager {1} initialisation failed." },
127         { "035", "{0} with string {1} returned {2} for " +
128                  "Resource Manager {3}." },
129         { "036", "{0} operation returned {1} for Resource Manager {2}." },
130         { "037", "Incorrect {0} context during transaction start "+
131                  "association." },
132         { "038", "SQL error: {0} returned rc {1}, SQLCODE {2}." },
133         { "039", "Unexpected exception ''{0}'' while loading XA switch " +
134                  "class {1}." },
135         { "040", "Connot allocate SQL environment." },
136         { "041", "Unable to create new JDBC-ODBC Driver." },
137         { "042", "Security check failed, reason string is {0}." },
138         { "043", "Unable to create new JdbcOdbc instance." },
139         { "044", "Unable to register with the JDBC Driver Manager." },
140         { "045", "Unable to load JDBC-ODBC Driver class." },
141         { "046", "Unexpected exception ''{0}'' while loading class {1}." },
142         { "047", "Log file exists for transient server {0}." },
143         { "048", "Invalid log record data in section {0}." },
144         { "049", "No entry found for database ''{0}'' in the ODBC " +
145                  "configuration." },
146         { "050", "ODBC Driver ''{0}'' for database ''{1}'' not supported " +
147                  "for transactional connection." },
148         { "051", "Unable to convert object reference to string in recovery." },
149         { "052", "Transaction resynchronization from originator failed, " +
150                  "retrying...." },
151         { "053", "Transaction id is already in use." },
152         { "054", "Invalid transaction state change." },
153         { "055", "No coordinator available." },
154         { "056", "XAException occured during recovery of XAResource objects." },
155         { "057", "Recoverable JTS instance, serverId = {0}." },
156         { "058", "No server name." },
157         { "059", "Error: Unable to write to error log file." },
158         { "060", "JTS Error: {0}." },
159         { "061", "JTS Warning: {0}." },
160         { "062", "JTS Info: {0}." },
161         { "063", "{0} : {1} : JTS{2}{3} {4}\n" },
162         { "064", "Invalid timeout value. Negative values are illegal." },
163     };
164 }
165
Popular Tags