2 * Copyright (c) 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.
16 package org.openo.baseservice.remoteservice.exception;
19 * ROA exception handling parameters.
25 * @version SDNO 0.5 28-May-2016
27 public class ExceptionArgs {
30 * Exception descriptions.
32 private String[] descArgs = null;
37 private String[] reasonArgs = null;
42 private String[] detailArgs = null;
47 private String[] adviceArgs = null;
56 public ExceptionArgs() {
57 // default constructor.
66 * @param descArgs: descriptions.
67 * @param reasonArgs: reasons.
68 * @param detailArgs: details.
69 * @param adviceArgs: advices.
71 public ExceptionArgs(final String[] descArgs, final String[] reasonArgs, final String[] detailArgs,
72 final String[] adviceArgs) {
73 this.descArgs = descArgs;
74 this.reasonArgs = reasonArgs;
75 this.detailArgs = detailArgs;
76 this.adviceArgs = adviceArgs;
79 public String[] getDescArgs() {
83 public void setDescArgs(final String[] descArgs) {
84 this.descArgs = descArgs;
87 public String[] getReasonArgs() {
91 public void setReasonArgs(final String[] reasonArgs) {
92 this.reasonArgs = reasonArgs;
95 public String[] getDetailArgs() {
99 public void setDetailArgs(final String[] detailArgs) {
100 this.detailArgs = detailArgs;
103 public String[] getAdviceArgs() {
107 public void setAdviceArgs(final String[] adviceArgs) {
108 this.adviceArgs = adviceArgs;