@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
Exception
Copyright © 2018. All rights reserved.