/*
 * Decompiled with CFR 0.152.
 */
package com.hst.taxService.util;

import com.hst.taxService.util.ResultMode;

public class OpensnsException
extends Exception {
    private static final long serialVersionUID = 8243127099991355146L;
    private String code;
    private String describe;
    private ResultMode resultMode;

    public OpensnsException(String code, String describe) {
        super(describe);
        this.code = code;
    }

    public OpensnsException(ResultMode resultMode) {
        super(resultMode.getDescribe());
        this.resultMode = resultMode;
    }

    public OpensnsException(String code, Exception ex) {
        super(ex);
        this.code = code;
    }

    public String getErrorCode() {
        return this.code;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescribe() {
        return this.describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public ResultMode getResultMode() {
        return this.resultMode;
    }

    public void setResultMode(ResultMode resultMode) {
        this.resultMode = resultMode;
    }

    public static long getSerialversionuid() {
        return 8243127099991355146L;
    }
}
