1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.everyday.word.exception.user;
|
| import org.springframework.security.core.AuthenticationException;
|
| /**
| * @author hxh
| * @description 用户登录异常
| * @date 13:41 2024/9/14
| * @return
| **/
| public class UserException extends AuthenticationException{
|
| // 尚未注册
| public final static int CODE_NOT_REGISTER=10;
|
| public UserException(String msg){
| super(msg);
| }
|
| }
|
|