Class GlobalExceptionHandler
- java.lang.Object
-
- de.adorsys.ledgers.oba.rest.server.resource.exception.handler.GlobalExceptionHandler
-
@ControllerAdvice public class GlobalExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description GlobalExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
handleAisException
@ExceptionHandler(de.adorsys.ledgers.oba.service.api.domain.exception.ObaException.class) public org.springframework.http.ResponseEntity<Map> handleAisException(ObaException e)
-
handlePaymentAuthorizeException
@ExceptionHandler(de.adorsys.ledgers.oba.rest.api.resource.exception.PaymentAuthorizeException.class) public org.springframework.http.ResponseEntity<Map> handlePaymentAuthorizeException(PaymentAuthorizeException e)
-
handleAuthException
@ExceptionHandler(de.adorsys.ledgers.oba.service.api.domain.exception.AuthorizationException.class) public org.springframework.http.ResponseEntity<Map> handleAuthException(AuthorizationException e)
-
handleFeignException
@ExceptionHandler(feign.FeignException.class) public org.springframework.http.ResponseEntity<Map> handleFeignException(feign.FeignException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
-