15231b99ecd49808714f3ff62e0faf118cfa3f04
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / exception / ExtsysException.java
1 /**
2  * Copyright 2016-2017 ZTE Corporation.
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 package org.onap.aai.esr.exception;
17
18 public class ExtsysException extends Exception {
19
20     private static final long serialVersionUID = 1L;
21     private String errorCode;
22     private String errorMsg;
23
24     public String getErrorCode() {
25         return errorCode;
26     }
27
28     public void setErrorCode(String errorCode) {
29         this.errorCode = errorCode;
30     }
31
32     public String getErrorMsg() {
33         return errorMsg;
34     }
35
36     public void setErrorMsg(String errorMsg) {
37         this.errorMsg = errorMsg;
38     }
39
40     public ExtsysException() {
41         super();
42     }
43
44     public ExtsysException(String msg, Exception e) {
45         super(msg, e);
46     }
47
48     public ExtsysException(String msg) {
49         super(msg);
50     }
51 }