2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
20 package org.openecomp.mso.adapters.vfc.constant;
26 * identification of adapter exception
29 * @version GSO 0.5 2016/9/3
31 public class DriverExceptionID {
33 public static final String INVALID_PARAM = "Invalid parameter";
35 public static final String INTERNAL_ERROR = "Internal error";
37 public static final String FAILED_TO_SVCTMPL_CATALOGUE = "Failed to get service template from catalogue";
39 public static final String INVALID_RESPONSE_FROM_INSTANTIATE_OPERATION =
40 "Invalid response from instantiate operation";
42 public static final String INVALID_RESPONSEE_FROM_CREATE_OPERATION = "Invalid response from create operation";
44 public static final String FAIL_TO_INSTANTIATE_NS = "Fail to instantiate ns";
46 public static final String FAIL_TO_CREATE_NS = "Fail to create ns";
48 public static final String FAIL_TO_CREATE_GSO_NS = "Fail to create gso ns";
50 public static final String INVALID_RESPONSEE_FROM_DELETE_OPERATION = "Invalid response from delete operation";
52 public static final String INVALID_RESPONSE_FROM_TERMINATE_OPERATION = "Invalid response from terminate operation";
54 public static final String FAIL_TO_DELETE_GSO_NS = "Fail to delete gso ns";
56 public static final String FAIL_TO_DELETE_NS = "Fail to delete ns";
58 public static final String FAIL_TO_TERMINATE_NS = "Fail to terminate ns";
60 public static final String JOB_STATUS_ERROR = "Job status error";
62 public static final String FAIL_TO_QUERY_JOB_STATUS = "Fail to query job status";
64 private DriverExceptionID() {