All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.wzc789376152.exception.BizRuntimeException Maven / Gradle / Ivy

package com.github.wzc789376152.exception;


import lombok.Getter;


public class BizRuntimeException extends  RuntimeException{

    @Getter
    private Integer errorCode;

    @Getter
    private String errorMiniCode;

    public BizRuntimeException() {
        super();
    }

    public BizRuntimeException(String message) {
        super(message);
    }

    public BizRuntimeException(Integer errorCode, String errorMiniCode,String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
        this.errorMiniCode = errorMiniCode;
    }

    public BizRuntimeException(String errorMsg, Throwable e) {
        super(errorMsg, e);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy