Uses of Class
com.bank.payment.exceptions.MessageHandler
Packages that use MessageHandler
-
Uses of MessageHandler in com.bank.payment.exceptions
Methods in com.bank.payment.exceptions that return types with arguments of type MessageHandlerModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleAccountNotFound
(PaymentNotFoundException ex) Handles PaymentNotFoundException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleAccountReceiverNotFound
(AccountReceiverNotFoundException ex) Handles AccountReceiverNotFoundException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleAccountSenderNotFound
(AccountSenderNotFoundException ex) Handles AccountSenderNotFoundException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleFirstTransferPix
(FirstTransferPixException ex) Handles FirstTransferPixException and returns a 409 CONFLICT response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handlePixNotFound
(PixNotFoundException ex) Handles PixNotFoundException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleTransferBalanceToYourself
(TransferBalanceToYourselfException ex) Handles TransferBalanceToYourselfException and returns a 400 BAD REQUEST response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleTransferInsuficientBalance
(TransferInsuficientBalanceException ex) Handles TransferInsuficientBalanceException and returns a 422 UNPROCESSABLE ENTITY response.