RuoYi
2020-08-31 bd7ae4e96bf414ccc714c64a20913a64817834af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ruoyi.auth.exception;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
 
/**
 * oauth2自定义异常
 *
 * @author ruoyi
 **/
@JsonSerialize(using = CustomOauthExceptionSerializer.class)
public class CustomOauthException extends OAuth2Exception
{
    private static final long serialVersionUID = 1L;
 
    public CustomOauthException(String msg)
    {
        super(msg);
    }
}