io.github.dengchen2020.security.exception.ForceOfflineException Maven / Gradle / Ivy
package io.github.dengchen2020.security.exception;
/**
* 访问时被强制下线,前端需跳转登录
* @author dengchen
* @since 2024/7/24
*/
public class ForceOfflineException extends SessionTimeOutException {
public static final String DEFAULT_MESSAGE = "您已被踢下线,请重新登录";
public ForceOfflineException(String message) {
super(message);
}
public ForceOfflineException() {
super(DEFAULT_MESSAGE);
}
}