RuoYi
2025-08-23 7919af54dac5d04b79d90f1c42823e87d68d4b86
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.ruoyi.common.core.exception.auth;
 
import org.apache.commons.lang3.StringUtils;
 
/**
 * 未能通过的角色认证异常
 * 
 * @author ruoyi
 */
public class NotRoleException extends RuntimeException
{
    private static final long serialVersionUID = 1L;
 
    public NotRoleException(String role)
    {
        super(role);
    }
 
    public NotRoleException(String[] roles)
    {
        super(StringUtils.join(roles, ","));
    }
}