1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.iplatform.security.exception;
|
| import org.springframework.security.core.AuthenticationException;
|
| /**
| * PC(后台用户)无法访问App异常定义。
| * @author 时克英
| * @date 2023-03-20
| */
| public class PcUserStopAppException extends AuthenticationException {
|
| public PcUserStopAppException(Throwable cause) {
| super(MESSAGE, cause);
| }
| public PcUserStopAppException(String msg, Throwable cause) {
| super(msg, cause);
| }
|
| public static final String MESSAGE = "非App用户无法登录手机端!";
| }
|
|