KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > shared > common > reference > MessageId


1 /*
2
3    Derby - Class org.apache.derby.shared.common.reference.MessageId
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21
22 package org.apache.derby.shared.common.reference;
23
24 /**
25     This class contains message identifiers for
26     strings that are not converted to SQL exceptions.
27
28     A* - Authentication
29     C* - Class Manager
30     D* - Raw Store Data
31     I* - Interface in com.ibm.db2j.core.*
32     J* - Connectivity (JDBC)
33     L* - Raw Store Log
34     M* - Message service
35 */

36
37 public interface MessageId {
38
39     /*
40     ** Raw Store log
41     */

42
43     String JavaDoc LOG_BEGIN_ERROR = "L001";
44     String JavaDoc LOG_END_ERROR = "L002";
45     String JavaDoc LOG_BEGIN_CORRUPT_STACK = "L003";
46     String JavaDoc LOG_END_CORRUPT_STACK = "L004";
47     String JavaDoc LOG_BEGIN_ERROR_STACK = "L005";
48     String JavaDoc LOG_END_ERROR_STACK = "L006";
49     String JavaDoc LOG_LOG_NOT_FOUND = "L007";
50     String JavaDoc LOG_DELETE_INCOMPATIBLE_FILE = "L008";
51     String JavaDoc LOG_DELETE_OLD_FILE = "L009";
52     String JavaDoc LOG_INCOMPLETE_LOG_RECORD = "L010";
53     String JavaDoc LOG_CHECKPOINT_EXCEPTION = "L011";
54     String JavaDoc LOG_RECORD_NOT_FIRST = "L012";
55     String JavaDoc LOG_RECORD_FIRST = "L013";
56     String JavaDoc LOG_BAD_START_INSTANT = "L014";
57     String JavaDoc LOG_NEW_LOGFILE_EXIST = "L015";
58     String JavaDoc LOG_CANNOT_CREATE_NEW = "L016";
59     String JavaDoc LOG_CANNOT_CREATE_NEW_DUETO = "L017";
60     String JavaDoc LOG_MAYBE_INCONSISTENT = "L018";
61     String JavaDoc LOG_WAS_IN_DURABILITY_TESTMODE_NO_SYNC = "L020"; // database was running in
62
// derby.system.durability set to test
63
String JavaDoc LOG_DURABILITY_TESTMODE_NO_SYNC_ERR = "L021"; // hint that error could be because
64
// derby.system.durability was set to test
65

66     /*
67      * Raw Store data
68      */

69
70     String JavaDoc STORE_BOOT_MSG = "D001";
71     String JavaDoc STORE_SHUTDOWN_MSG = "D002";
72     String JavaDoc STORE_BACKUP_STARTED = "D004";
73     String JavaDoc STORE_MOVED_BACKUP = "D005";
74     String JavaDoc STORE_DATA_SEG_BACKUP_COMPLETED = "D006";
75     String JavaDoc STORE_EDITED_SERVICEPROPS = "D007";
76     String JavaDoc STORE_ERROR_EDIT_SERVICEPROPS = "D008";
77     String JavaDoc STORE_COPIED_LOG = "D009";
78     String JavaDoc STORE_BACKUP_ABORTED = "D010";
79     String JavaDoc STORE_REMOVED_BACKUP = "D011";
80     String JavaDoc STORE_BACKUP_COMPLETED = "D012";
81     String JavaDoc STORE_DURABILITY_TESTMODE_NO_SYNC = "D013"; // for derby.system.durability is
82
// set to test
83
String JavaDoc STORE_BOOT_READONLY_MSG = "D014";
84
85
86     /*
87     ** ClassManager
88     */

89     String JavaDoc CM_WROTE_CLASS_FILE = "C000";
90     String JavaDoc CM_UNKNOWN_CERTIFICATE = "C001";
91     String JavaDoc CM_SECURITY_EXCEPTION = "C002";
92     String JavaDoc CM_LOAD_JAR_EXCEPTION = "C003";
93     String JavaDoc CM_STALE_LOADER = "C004";
94     String JavaDoc CM_CLASS_LOADER_START = "C005";
95     String JavaDoc CM_CLASS_LOAD = "C006";
96     String JavaDoc CM_CLASS_LOAD_EXCEPTION = "C007";
97
98
99     /*
100     ** Connectivity
101     */

102     String JavaDoc CONN_DATABASE_IDENTITY = "J004"; // database identity
103
String JavaDoc CONN_SHUT_DOWN_CLOUDSCAPE = "J005"; // shut down Cloudscape
104
String JavaDoc CONN_CREATE_DATABASE = "J007"; // create database
105
String JavaDoc CONN_NO_DETAILS = "J008"; // no details
106
String JavaDoc CONN_DATA_ENCRYPTION = "J010"; // encrypt database on disk
107
String JavaDoc CONN_UPGRADE_DATABASE = "J013"; // upgrade database
108
String JavaDoc CONN_CRYPTO_PROVIDER = "J016"; // cryptographic service provider
109
String JavaDoc CONN_CRYPTO_ALGORITHM = "J017"; // cryptographic algorithm
110
String JavaDoc CONN_CRYPTO_KEY_LENGTH = "J018"; // cryptographic key length
111
String JavaDoc CONN_CRYPTO_EXTERNAL_KEY = "J019"; // external cryptographic key
112
String JavaDoc CONN_BOOT_PASSWORD = "J020"; // secret cryptographic key
113
String JavaDoc CONN_LOCALE = "J021"; // locale for the database
114
String JavaDoc CONN_USERNAME_ATTR = "J022"; // user name
115
String JavaDoc CONN_PASSWORD_ATTR = "J023"; // user password
116
String JavaDoc CONN_LOG_DEVICE = "J025"; // log directory path
117
String JavaDoc CONN_ROLL_FORWARD_RECOVERY_FROM = "J028"; //backup path for roll-forward recovery
118
String JavaDoc CONN_CREATE_FROM = "J029"; //backup path for creating database from backup
119
String JavaDoc CONN_RESTORE_FROM = "J030"; //backup path for restoring database from backup
120
String JavaDoc CONN_NETWORK_SERVER_CLASS_FIND = "J100"; // Cannot find the network server starterclass
121
String JavaDoc CONN_NETWORK_SERVER_CLASS_LOAD = "J101"; // Cannot load the network server constructor
122
String JavaDoc CONN_NETWORK_SERVER_START_EXCEPTION = "J102";
123     String JavaDoc CONN_NETWORK_SERVER_SHUTDOWN_EXCEPTION = "J103";
124     String JavaDoc CONN_ALREADY_CLOSED = "J104";
125     String JavaDoc CONN_PRECISION_TOO_LARGE = "J105";
126     String JavaDoc CONN_SECMECH_NOT_SUPPORTED = "J110";
127     String JavaDoc CONN_PASSWORD_MISSING = "J111";
128     String JavaDoc CONN_USERID_MISSING = "J112";
129     String JavaDoc CONN_USERID_OR_PASSWORD_INVALID = "J113";
130     String JavaDoc CONN_USERID_REVOKED = "J114";
131     String JavaDoc CONN_NEW_PASSWORD_INVALID = "J115";
132     String JavaDoc CONN_SECSVC_NONRETRYABLE_ERR = "J116";
133     String JavaDoc CONN_SECTKN_MISSING_OR_INVALID = "J117";
134     String JavaDoc CONN_PASSWORD_EXPIRED = "J118";
135     String JavaDoc CONN_NOT_SPECIFIED = "J120";
136     String JavaDoc CONN_USER_NOT_AUTHORIZED_TO_DB = "J121";
137     String JavaDoc CONN_DRDA_RDBNACRM = "J122";
138     String JavaDoc CONN_DRDA_CMDCHKRM = "J123";
139     String JavaDoc CONN_DRDA_RDBACCRM = "J124";
140     String JavaDoc CONN_DRDA_DTARMCHRM = "J125";
141     String JavaDoc CONN_DRDA_PRCCNVRM = "J126";
142     String JavaDoc CONN_PARSE_SQLDIAGGRP_NOT_IMPLEMENTED = "J127";
143     String JavaDoc CONN_CURSOR_NOT_OPEN = "J128";
144     String JavaDoc CONN_DRDA_QRYOPEN = "J129";
145     String JavaDoc CONN_DRDA_INVALIDFDOCA = "J130";
146     String JavaDoc CONN_DRDA_DATASTREAM_SYNTAX_ERROR = "J131";
147     String JavaDoc CONN_USERNAME_DESCRIPTION = "J132";
148     String JavaDoc CONN_PASSWORD_DESCRIPTION = "J133";
149
150     /*
151     ** Authentication
152     */

153     String JavaDoc AUTH_NO_SERVICE_FOR_SYSTEM = "A001"; // FATAL: There is no Authentication Service for the system
154
String JavaDoc AUTH_NO_SERVICE_FOR_DB = "A002"; // FATAL: There is no Authentication Service for the database
155
String JavaDoc AUTH_NO_LDAP_HOST_MENTIONED = "A011"; // No LDAP Server/Host name mentioned ...
156
String JavaDoc AUTH_INVALID = "A020"; // authentication failed due to invalid password or whatever
157

158     /*
159     ** cloudscape Interface in com.ibm.db2j.core.*
160     ** These messages are thrown in both the server and the client side.
161     */

162     String JavaDoc CORE_JDBC_DRIVER_UNREGISTERED= "I015"; // JDBCDriver is not registered with the JDBC driver manager
163
String JavaDoc CORE_DATABASE_NOT_AVAILABLE = "I024"; // Database not available
164
String JavaDoc CORE_DRIVER_NOT_AVAILABLE = "I025"; // JDBC Driver not available
165
String JavaDoc JDBC_DRIVER_REGISTER_ERROR = "I026"; // Error while registering driver
166

167     /*
168      * Monitor
169      */

170     String JavaDoc SERVICE_PROPERTIES_DONT_EDIT = "M001"; // Tell user not to edit service.properties
171

172
173 }
174
Popular Tags