blob: c4be075cf0aad44e1afafcf9b71ef705e6085825 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package org.onap.so.exceptions;
public class MSOException extends Exception{
/**
*
*/
private static final long serialVersionUID = 4563920496855255206L;
private Integer errorCode;
public MSOException(String msg){
super(msg);
}
public MSOException (Throwable e) {
super(e);
}
public MSOException (String msg, Throwable e) {
super (msg, e);
}
public MSOException(String msg, int errorCode){
super(msg);
this.errorCode=errorCode;
}
public MSOException(String msg, int errorCode, Throwable t){
super(msg,t);
this.errorCode=errorCode;
}
public Integer getErrorCode(){
return errorCode;
}
}
|