Package com.bank.payment.exceptions
package com.bank.payment.exceptions
-
ClassDescriptionException thrown when the account that is supposed to receive a payment is not found.Exception thrown when the account that is supposed to send a payment is not found.Exception thrown when a user attempts to make a PIX transfer for the first time to a specific account.Class to handle messages for exceptions in the payment microservice.Exception thrown when a payment is not found.Exception thrown when a Pix key is not found.Global exception handler for the payment microservice.Exception thrown when a user attempts to transfer balance to themselves.Exception thrown when there is insufficient balance to complete a transfer.