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 ONAP Amsterdam Release 2017-9-6
 
  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 INVALID_RESPONSEE_FROM_DELETE_OPERATION = "Invalid response from delete operation";
 
  50     public static final String INVALID_RESPONSE_FROM_TERMINATE_OPERATION = "Invalid response from terminate operation";
 
  52     public static final String FAIL_TO_DELETE_NS = "Fail to delete ns";
 
  54     public static final String FAIL_TO_TERMINATE_NS = "Fail to terminate ns";
 
  56     public static final String JOB_STATUS_ERROR = "Job status error";
 
  58     public static final String FAIL_TO_QUERY_JOB_STATUS = "Fail to query job status";
 
  60     private DriverExceptionID() {