@ControllerAdvice public class ExceptionAdvisor extends Object
| Constructor and Description |
|---|
ExceptionAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map> |
accessDeniedExceptionHandler(org.springframework.security.access.AccessDeniedException ex) |
org.springframework.http.ResponseEntity<Map> |
globalExceptionHandler(Exception ex) |
org.springframework.http.ResponseEntity<Map> |
handleDepositModuleException(DepositModuleException ex) |
org.springframework.http.ResponseEntity<Map> |
handleMiddlewareModuleException(MiddlewareModuleException ex) |
org.springframework.http.ResponseEntity<Map> |
handlePostingModuleException(PostingModuleException ex) |
org.springframework.http.ResponseEntity<Map> |
handleScaModuleException(ScaModuleException ex) |
org.springframework.http.ResponseEntity<Map> |
handleUserManagementModuleException(UserManagementModuleException ex) |
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<Map> globalExceptionHandler(Exception ex)
@ExceptionHandler(value=org.springframework.security.access.AccessDeniedException.class) public org.springframework.http.ResponseEntity<Map> accessDeniedExceptionHandler(org.springframework.security.access.AccessDeniedException ex)
@ExceptionHandler(value=de.adorsys.ledgers.middleware.api.exception.MiddlewareModuleException.class) public org.springframework.http.ResponseEntity<Map> handleMiddlewareModuleException(MiddlewareModuleException ex)
@ExceptionHandler(value=de.adorsys.ledgers.util.exception.PostingModuleException.class) public org.springframework.http.ResponseEntity<Map> handlePostingModuleException(PostingModuleException ex)
@ExceptionHandler(value=de.adorsys.ledgers.util.exception.UserManagementModuleException.class) public org.springframework.http.ResponseEntity<Map> handleUserManagementModuleException(UserManagementModuleException ex)
@ExceptionHandler(value=de.adorsys.ledgers.util.exception.ScaModuleException.class) public org.springframework.http.ResponseEntity<Map> handleScaModuleException(ScaModuleException ex)
@ExceptionHandler(value=de.adorsys.ledgers.util.exception.DepositModuleException.class) public org.springframework.http.ResponseEntity<Map> handleDepositModuleException(DepositModuleException ex)
Copyright © 2021. All rights reserved.