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

io.github.dengchen2020.security.exception.SessionTimeOutException Maven / Gradle / Ivy

There is a newer version: 0.0.28
Show newest version
package io.github.dengchen2020.security.exception;

import io.github.dengchen2020.core.exception.BaseException;

/**
 * 登录会话超时异常:前端需跳转登录
 *
 * @author dengchen
 * @since 2022/07/09 14:11
 */
public class SessionTimeOutException extends BaseException {

    public static final Integer CODE = 401;

    public static final String DEFAULT_MESSAGE = "会话超时,请重新登录";

    public SessionTimeOutException(String message) {
        super(message, CODE);
    }

    public SessionTimeOutException() {
        super(DEFAULT_MESSAGE, CODE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy