89b1b0a34a00a15a8a08b09e0a086b68b4bccba8
[vfc/nfvo/resmanagement.git] /
1 /*
2  * Copyright 2016 Huawei Technologies Co., Ltd.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.onap.vfc.nfvo.resmanagement.common.util.restclient;
18
19 /**
20  * ROA exception handling parameters.
21  * <br/>
22  * <p>
23  * </p>
24  * 
25  * @author
26  * @version 28-May-2016
27  */
28 public class ExceptionArgs {
29
30     /**
31      * Exception descriptions.
32      */
33     private String[] descArgs = null;
34
35     /**
36      * Exception reasons.
37      */
38     private String[] reasonArgs = null;
39
40     /**
41      * Exception detals.
42      */
43     private String[] detailArgs = null;
44
45     /**
46      * Exception advices.
47      */
48     private String[] adviceArgs = null;
49
50     /**
51      * Constructor<br/>
52      * <p>
53      * </p>
54      * 
55      * @since
56      */
57     public ExceptionArgs() {
58         // default constructor.
59     }
60
61     /**
62      * Constructor<br/>
63      * <p>
64      * </p>
65      * 
66      * @since
67      * @param descArgs: descriptions.
68      * @param reasonArgs: reasons.
69      * @param detailArgs: details.
70      * @param adviceArgs: advices.
71      */
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;
78     }
79
80     public String[] getDescArgs() {
81         return descArgs;
82     }
83
84     public void setDescArgs(final String[] descArgs) {
85         this.descArgs = descArgs;
86     }
87
88     public String[] getReasonArgs() {
89         return reasonArgs;
90     }
91
92     public void setReasonArgs(final String[] reasonArgs) {
93         this.reasonArgs = reasonArgs;
94     }
95
96     public String[] getDetailArgs() {
97         return detailArgs;
98     }
99
100     public void setDetailArgs(final String[] detailArgs) {
101         this.detailArgs = detailArgs;
102     }
103
104     public String[] getAdviceArgs() {
105         return adviceArgs;
106     }
107
108     public void setAdviceArgs(final String[] adviceArgs) {
109         this.adviceArgs = adviceArgs;
110     }
111 }