@ControllerAdvice public class GlobalExceptionHandler extends Object
| Constructor and Description |
|---|
GlobalExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map> |
handleAisException(AisException e) |
org.springframework.http.ResponseEntity<Map> |
handleAuthException(AuthorizationException e) |
org.springframework.http.ResponseEntity<Map> |
handleFeignException(feign.FeignException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ExceptionHandler(value=de.adorsys.ledgers.oba.rest.api.exception.AisException.class) public org.springframework.http.ResponseEntity<Map> handleAisException(AisException e)
@ExceptionHandler(value=de.adorsys.ledgers.oba.rest.api.exception.AuthorizationException.class) public org.springframework.http.ResponseEntity<Map> handleAuthException(AuthorizationException e)
@ExceptionHandler(value=feign.FeignException.class) public org.springframework.http.ResponseEntity<Map> handleFeignException(feign.FeignException ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2019. All rights reserved.