List of usage examples for org.springframework.security.oauth2.common.exceptions OAuth2Exception getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:com.hundsun.sso.controller.OAuthRestController.java
@ExceptionHandler(OAuth2Exception.class) public ResponseEntity<OAuth2Exception> handleException(OAuth2Exception e) throws Exception { LOG.info("Handling error: " + e.getClass().getSimpleName() + ", " + e.getMessage()); return getExceptionTranslator().translate(e); }