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

com.didiglobal.logi.security.exception.LogiSecurityException Maven / Gradle / Ivy

Go to download

logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)

There is a newer version: 2.10.19
Show newest version
package com.didiglobal.logi.security.exception;

/**
 * @author cjm
 *
 * 返回后端和前端商定的code(msg前端自己决定)
 */
public class LogiSecurityException extends RuntimeException {

    public LogiSecurityException() {}

    public LogiSecurityException(CodeMsg codeMsg) {
        super(codeMsg.getCode() + "-" + codeMsg.getMessage());
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy