LteException.java 879 字节
//
// 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);
    }
}