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.resmanagement.common.util.restclient;
20 * ROA exception handling parameters.
26 * @version 28-May-2016
28 public class ExceptionArgs {
31 * Exception descriptions.
33 private String[] descArgs = null;
38 private String[] reasonArgs = null;
43 private String[] detailArgs = null;
48 private String[] adviceArgs = null;
57 public ExceptionArgs() {
58 // default constructor.
67 * @param descArgs: descriptions.
68 * @param reasonArgs: reasons.
69 * @param detailArgs: details.
70 * @param adviceArgs: advices.
72 public ExceptionArgs(final String[] descArgs, final String[] reasonArgs, final String[] detailArgs,
73 final String[] adviceArgs) {
74 this.descArgs = descArgs;
75 this.reasonArgs = reasonArgs;
76 this.detailArgs = detailArgs;
77 this.adviceArgs = adviceArgs;
80 public String[] getDescArgs() {
84 public void setDescArgs(final String[] descArgs) {
85 this.descArgs = descArgs;
88 public String[] getReasonArgs() {
92 public void setReasonArgs(final String[] reasonArgs) {
93 this.reasonArgs = reasonArgs;
96 public String[] getDetailArgs() {
100 public void setDetailArgs(final String[] detailArgs) {
101 this.detailArgs = detailArgs;
104 public String[] getAdviceArgs() {
108 public void setAdviceArgs(final String[] adviceArgs) {
109 this.adviceArgs = adviceArgs;