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

io.github.weasleyj.mybatis.encrypt.exception.MybatisEncryptException Maven / Gradle / Ivy

Go to download

A spring-boot starter make it easy to encrypt and decrypt some column of database tables, support for user custom encryption algorithms

There is a newer version: 1.0.3
Show newest version
package io.github.weasleyj.mybatis.encrypt.exception;

/**
 * Mybatis encrypt exception
 *
 * @author weasley
 * @version 1.0.0
 */
public class MybatisEncryptException extends RuntimeException {
    /**
     * The code for mybatis encrypt exception
     */
    private int code = 10089;
    /**
     * The message for mybatis encrypt exception
     */
    private String message;


    public MybatisEncryptException() {
        super();
    }

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

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

    public MybatisEncryptException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy