KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmanage > core > util > ErrorCodes


1 /**
2  * Copyright 2004-2005 jManage.org
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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  */

16 package org.jmanage.core.util;
17
18 /**
19  *
20  * date: Feb 13, 2005
21  * @author Rakesh Kalra, Shashank Bellary
22  */

23 public interface ErrorCodes {
24
25     String JavaDoc UNKNOWN_ERROR = "unknown.error";
26     String JavaDoc ERROR_REQUIRED = "errors.required";
27     String JavaDoc INVALID_CREDENTIALS = "invalid.login";
28     String JavaDoc ACCOUNT_LOCKED = "account.locked";
29     String JavaDoc INVALID_LOGIN_ATTEMPTS = "invalid.login.attempt.count";
30
31     String JavaDoc INVALID_APPLICATION_NAME = "invalid.appName";
32     String JavaDoc INVALID_MBEAN_ATTRIBUTE = "invalid.mbean.attribute";
33     String JavaDoc INVALID_MBEAN_OPERATION = "invalid.mbean.operation";
34     String JavaDoc READ_ONLY_MBEAN_ATTRIBUTE = "readOnly.mbean.attribute";
35
36     String JavaDoc OPERATION_NOT_SUPPORTED_FOR_CLUSTER = "cluster.unsupported.operation";
37
38     String JavaDoc INVALID_OLD_PASSWORD = "invalid.oldPassword";
39     String JavaDoc PASSWORD_MISMATCH = "mismatch.password";
40     String JavaDoc CONNECTION_FAILED = "app.connection.failed";
41
42     String JavaDoc CLUSTER_NO_APPLICATIONS = "cluster.noApplicationsDefined";
43
44     String JavaDoc ERRONEOUS_APPS = "erroneous.apps";
45     String JavaDoc JMANAGE_SERVER_CONNECTION_FAILED = "jmanage.connection.failed";
46
47     String JavaDoc APPLICATION_NAME_ALREADY_EXISTS = "application.name.already.exists";
48     String JavaDoc INVALID_CHAR_APP_NAME = "error.appNameMask";
49 }
Popular Tags