[VID-6] Initial rebase push
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / model / ExceptionResponse.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.vid.model;\r
22 \r
23 /**\r
24  * The Class ExceptionResponse.\r
25  */\r
26 public class ExceptionResponse {\r
27 \r
28         /** The exception. */\r
29         private String exception;\r
30         \r
31         /** The message. */\r
32         private String message;\r
33 \r
34         /**\r
35          * Gets the exception.\r
36          *\r
37          * @return the exception\r
38          */\r
39         public String getException() {\r
40                 return exception;\r
41         }\r
42 \r
43         /**\r
44          * Sets the exception.\r
45          *\r
46          * @param exception the new exception\r
47          */\r
48         public void setException(String exception) {\r
49                 this.exception = exception;\r
50         }\r
51 \r
52         /**\r
53          * Gets the message.\r
54          *\r
55          * @return the message\r
56          */\r
57         public String getMessage() {\r
58                 return message;\r
59         }\r
60 \r
61         /**\r
62          * Sets the message.\r
63          *\r
64          * @param message the new message\r
65          */\r
66         public void setMessage(String message) {\r
67                 this.message = message;\r
68         }\r
69 \r
70 }\r