652de97f5fb704aafd69259b7b8e6186569b1fda
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 package org.openecomp.mso.adapters.vfc.constant;
21
22 /**
23  * <br>
24  * <p>
25  * </p>
26  * identification of adapter exception
27  * 
28  * @author
29  * @version ONAP Amsterdam Release 2017-9-6
30  */
31 public class DriverExceptionID {
32
33     public static final String INVALID_PARAM = "Invalid parameter";
34
35     public static final String INTERNAL_ERROR = "Internal error";
36
37     public static final String FAILED_TO_SVCTMPL_CATALOGUE = "Failed to get service template from catalogue";
38
39     public static final String INVALID_RESPONSE_FROM_INSTANTIATE_OPERATION =
40             "Invalid response from instantiate operation";
41
42     public static final String INVALID_RESPONSEE_FROM_CREATE_OPERATION = "Invalid response from create operation";
43
44     public static final String FAIL_TO_INSTANTIATE_NS = "Fail to instantiate ns";
45
46     public static final String FAIL_TO_CREATE_NS = "Fail to create ns";
47
48     public static final String INVALID_RESPONSEE_FROM_DELETE_OPERATION = "Invalid response from delete operation";
49
50     public static final String INVALID_RESPONSE_FROM_TERMINATE_OPERATION = "Invalid response from terminate operation";
51
52     public static final String FAIL_TO_DELETE_NS = "Fail to delete ns";
53
54     public static final String FAIL_TO_TERMINATE_NS = "Fail to terminate ns";
55
56     public static final String JOB_STATUS_ERROR = "Job status error";
57
58     public static final String FAIL_TO_QUERY_JOB_STATUS = "Fail to query job status";
59
60     private DriverExceptionID() {
61
62     }
63
64 }