sky-take-out/sky-common/src/main/java/com/sky/common/exception/LoginFailedException.java

23 lines
544 B
Java
Raw Normal View History

2024-03-11 20:41:39 +08:00
package com.sky.common.exception;
2024-03-16 21:54:38 +08:00
import lombok.extern.slf4j.Slf4j;
2024-03-11 20:41:39 +08:00
/**
* 登录失败
*/
2024-03-16 21:54:38 +08:00
@Slf4j
public class LoginFailedException extends BaseException {
2024-03-11 20:41:39 +08:00
/**
* Constructs a new runtime exception with {@code null} as its
* detail message. The cause is not initialized, and may subsequently be
* initialized by a call to {@link #initCause}.
*/
public LoginFailedException() {
}
public LoginFailedException(String message) {
super(message);
2024-03-16 21:54:38 +08:00
log.error("登录失败:{}", message);
2024-03-11 20:41:39 +08:00
}
}