update the pom version for the security issue fix
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / common / restclient / ExceptionArgs.java
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.vnfm.svnfm.vnfmadapter.common.restclient;
18
19 import java.io.Serializable;
20
21 /**
22  * ROA exception handling parameters.
23  * <br/>
24  * <p>
25  * </p>
26  *
27  * @author
28  * @version 28-May-2016
29  */
30 public class ExceptionArgs implements Serializable {
31
32     /**
33      *
34      */
35     private static final long serialVersionUID = 7411730460834659138L;
36
37     /**
38      * Exception descriptions.
39      */
40     private String[] descArgs = null;
41
42     /**
43      * Exception reasons.
44      */
45     private String[] reasonArgs = null;
46
47     /**
48      * Exception detals.
49      */
50     private String[] detailArgs = null;
51
52     /**
53      * Exception advices.
54      */
55     private String[] adviceArgs = null;
56
57     /**
58      * Constructor<br/>
59      * <p>
60      * </p>
61      *
62      * @since
63      */
64     public ExceptionArgs() {
65         // default constructor.
66     }
67
68     /**
69      * Constructor<br/>
70      * <p>
71      * </p>
72      *
73      * @since
74      * @param descArgs: descriptions.
75      * @param reasonArgs: reasons.
76      * @param detailArgs: details.
77      * @param adviceArgs: advices.
78      */
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;
85     }
86
87     public String[] getDescArgs() {
88         return descArgs;
89     }
90
91     public void setDescArgs(final String[] descArgs) {
92         this.descArgs = descArgs;
93     }
94
95     public String[] getReasonArgs() {
96         return reasonArgs;
97     }
98
99     public void setReasonArgs(final String[] reasonArgs) {
100         this.reasonArgs = reasonArgs;
101     }
102
103     public String[] getDetailArgs() {
104         return detailArgs;
105     }
106
107     public void setDetailArgs(final String[] detailArgs) {
108         this.detailArgs = detailArgs;
109     }
110
111     public String[] getAdviceArgs() {
112         return adviceArgs;
113     }
114
115     public void setAdviceArgs(final String[] adviceArgs) {
116         this.adviceArgs = adviceArgs;
117     }
118 }