Package: ServerManagerClientException

ServerManagerClientException

nameinstructionbranchcomplexitylinemethod
ServerManagerClientException()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ServerManagerClientException(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ServerManagerClientException(String, Throwable)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ServerManagerClientException(Throwable)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
3: *
4: * WSO2 Inc. licenses this file to you under the Apache License,
5: * Version 2.0 (the "License"); you may not use this file except
6: * in compliance with the License.
7: * You may obtain a copy of the License at
8: *
9: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing,
12: * software distributed under the License is distributed on an
13: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14: * KIND, either express or implied. See the License for the
15: * specific language governing permissions and limitations
16: * under the License.
17: */
18:
19: package org.wso2.carbon.directory.server.manager.ui;
20:
21: /**
22: * An exception class to wrap client side errors in directory server component.
23: * Also this maintains error codes.
24: */
25: @SuppressWarnings({"UnusedDeclaration"})
26: public class ServerManagerClientException extends Exception {
27:
28: public static final String LIST_SERVICE_PRINCIPLES_ERROR = "service.principle.list.error";
29: public static final String ADD_SERVICE_PRINCIPLES_ERROR = "service.principle.add.error";
30: public static final String REMOVE_SERVICE_PRINCIPLES_ERROR = "service.principle.remove.error";
31: public static final String CHANGE_SERVICE_PRINCIPLES_ERROR = "service.principle.change.error";
32: public static final String INIT_SERVICE_PRINCIPLE_ERROR = "service.principle.init.error";
33: public static final String SERVICE_PRINCIPLE_ALREADY_EXISTS = "service.principle.exists";
34: public static final String PASSWORD_FORMAT_RETRIEVING_ERROR = "password.format.get.error";
35: public static final String NAME_FORMAT_RETRIEVING_ERROR = "name.format.get.error";
36:
37: public ServerManagerClientException() {
38: super();
39: }
40:
41: public ServerManagerClientException(String message, Throwable cause) {
42: super(message, cause);
43: }
44:
45: public ServerManagerClientException(String message) {
46: super(message);
47: }
48:
49: public ServerManagerClientException(Throwable cause) {
50: super(cause);
51: }
52: }