@ControllerAdvice public class GlobalExceptionHandler extends Object
| Constructor and Description |
|---|
GlobalExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
consentException(AspspProfileRestException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<String> |
exception(Exception ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<String> exception(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=AspspProfileRestException.class) public org.springframework.http.ResponseEntity<String> consentException(AspspProfileRestException ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.