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

io.afu.utils.exception.BaseException Maven / Gradle / Ivy

package io.afu.utils.exception;

public class BaseException extends Exception {

    private static final long serialVersionUID = 3L;

    private Integer code;

    public BaseException(){
        super();
    }

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

    public BaseException(String message,Integer code){
        super(message);
        this.code = code;
    }

    public BaseException(Throwable cause){
        super(cause);
    }


    public Integer getCode() {
        return code;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy