@ControllerAdvice public class ExceptionAdvisor extends Object
| Constructor and Description |
|---|
ExceptionAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
handleInsufficientFundsException(InsufficientFundsMiddlewareException e) |
org.springframework.http.ResponseEntity<Map> |
handlePostingModuleException(PostingModuleException ex) |
org.springframework.http.ResponseEntity<Map> |
handleRestException(RestException ex) |
org.springframework.http.ResponseEntity |
handleUnsupportedOperationException(UnsupportedOperationException e) |
@ExceptionHandler(value=de.adorsys.ledgers.middleware.api.exception.InsufficientFundsMiddlewareException.class) public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> handleInsufficientFundsException(InsufficientFundsMiddlewareException e)
@ExceptionHandler(value=java.lang.UnsupportedOperationException.class) public org.springframework.http.ResponseEntity handleUnsupportedOperationException(UnsupportedOperationException e)
@ExceptionHandler(value=RestException.class) public org.springframework.http.ResponseEntity<Map> handleRestException(RestException ex)
@ExceptionHandler(value=de.adorsys.ledgers.postings.api.exception.PostingModuleException.class) public org.springframework.http.ResponseEntity<Map> handlePostingModuleException(PostingModuleException ex)
Copyright © 2019. All rights reserved.