01: /**
02: * Copyright 2004-2005 jManage.org
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */package org.jmanage.core.util;
16:
17: /**
18: *
19: * date: Feb 13, 2005
20: * @author Rakesh Kalra, Shashank Bellary
21: */
22: public interface ErrorCodes {
23:
24: String UNKNOWN_ERROR = "unknown.error";
25: String ERROR_REQUIRED = "errors.required";
26: String INVALID_CREDENTIALS = "invalid.login";
27: String ACCOUNT_LOCKED = "account.locked";
28: String INVALID_LOGIN_ATTEMPTS = "invalid.login.attempt.count";
29:
30: String INVALID_APPLICATION_NAME = "invalid.appName";
31: String INVALID_MBEAN_ATTRIBUTE = "invalid.mbean.attribute";
32: String INVALID_MBEAN_OPERATION = "invalid.mbean.operation";
33: String READ_ONLY_MBEAN_ATTRIBUTE = "readOnly.mbean.attribute";
34:
35: String OPERATION_NOT_SUPPORTED_FOR_CLUSTER = "cluster.unsupported.operation";
36:
37: String INVALID_OLD_PASSWORD = "invalid.oldPassword";
38: String PASSWORD_MISMATCH = "mismatch.password";
39: String CONNECTION_FAILED = "app.connection.failed";
40:
41: String CLUSTER_NO_APPLICATIONS = "cluster.noApplicationsDefined";
42:
43: String ERRONEOUS_APPS = "erroneous.apps";
44: String JMANAGE_SERVER_CONNECTION_FAILED = "jmanage.connection.failed";
45:
46: String APPLICATION_NAME_ALREADY_EXISTS = "application.name.already.exists";
47: String INVALID_CHAR_APP_NAME = "error.appNameMask";
48: }
|