io.github.weasleyj.mybatis.encrypt.exception.MybatisEncryptException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-encrypt-spring-boot-starter Show documentation
Show all versions of mybatis-encrypt-spring-boot-starter Show documentation
A spring-boot starter make it easy to encrypt and decrypt some column of database tables, support for user custom encryption algorithms
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