@ControllerAdvice public class OAuth2ExceptionHandler extends Object
| Constructor and Description |
|---|
OAuth2ExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
handleException(Exception e) |
public OAuth2ExceptionHandler()
@ExceptionHandler(value=org.springframework.security.oauth2.common.exceptions.OAuth2Exception.class) public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> handleException(Exception e) throws Exception
ExceptionCopyright © 2022. All rights reserved.