LteException.java
879 字节
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
37
38
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.airport.util;
import org.apache.log4j.Logger;
public class LteException extends Exception {
private static final Logger logger = Logger.getLogger(LteException.class);
private static final long serialVersionUID = -3047721096749400047L;
private int errorCode = -1;
public LteException() {
}
public LteException(String s) {
super(s);
}
public LteException(int errorCode, String errmsg) {
super(errmsg);
this.errorCode = errorCode;
if (errorCode > 0) {
logger.debug("ErrorCode: " + errorCode + " " + errmsg);
}
}
public int getErrorCode() {
return this.errorCode;
}
public LteException(String s, Throwable cause) {
super(s, cause);
}
}