@ControllerAdvice public class GlobalExceptionHandler extends Object
| Constructor and Description |
|---|
GlobalExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map> |
handleAisException(ObaException e) |
org.springframework.http.ResponseEntity<Map> |
handleAuthException(AuthorizationException e) |
org.springframework.http.ResponseEntity<Map> |
handleFeignException(feign.FeignException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Map> |
handlePaymentAuthorizeException(PaymentAuthorizeException e) |
@ExceptionHandler(value=de.adorsys.ledgers.oba.service.api.domain.exception.ObaException.class) public org.springframework.http.ResponseEntity<Map> handleAisException(ObaException e)
@ExceptionHandler(value=de.adorsys.ledgers.oba.rest.api.resource.exception.PaymentAuthorizeException.class) public org.springframework.http.ResponseEntity<Map> handlePaymentAuthorizeException(PaymentAuthorizeException e)
@ExceptionHandler(value=de.adorsys.ledgers.oba.service.api.domain.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 © 2020. All rights reserved.