2 * Copyright 2016 Huawei Technologies Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.common.restclient;
19 import java.io.Serializable;
22 * ROA exception handling parameters.
28 * @version 28-May-2016
30 public class ExceptionArgs implements Serializable {
35 private static final long serialVersionUID = 7411730460834659138L;
38 * Exception descriptions.
40 private String[] descArgs = null;
45 private String[] reasonArgs = null;
50 private String[] detailArgs = null;
55 private String[] adviceArgs = null;
64 public ExceptionArgs() {
65 // default constructor.
74 * @param descArgs: descriptions.
75 * @param reasonArgs: reasons.
76 * @param detailArgs: details.
77 * @param adviceArgs: advices.
79 public ExceptionArgs(final String[] descArgs, final String[] reasonArgs, final String[] detailArgs,
80 final String[] adviceArgs) {
81 this.descArgs = descArgs;
82 this.reasonArgs = reasonArgs;
83 this.detailArgs = detailArgs;
84 this.adviceArgs = adviceArgs;
87 public String[] getDescArgs() {
91 public void setDescArgs(final String[] descArgs) {
92 this.descArgs = descArgs;
95 public String[] getReasonArgs() {
99 public void setReasonArgs(final String[] reasonArgs) {
100 this.reasonArgs = reasonArgs;
103 public String[] getDetailArgs() {
107 public void setDetailArgs(final String[] detailArgs) {
108 this.detailArgs = detailArgs;
111 public String[] getAdviceArgs() {
115 public void setAdviceArgs(final String[] adviceArgs) {
116 this.adviceArgs = adviceArgs;