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