Class InsufficientVoucherBalanceException

  • All Implemented Interfaces:
    Serializable

    public class InsufficientVoucherBalanceException
    extends VoucherRedeemingException
    Exception thrown when attempting to redeem a voucher with an amount greater that its balance. The balance is returned only for vouchers with a fixed amount, not those which allow multiple top-ups.
    See Also:
    Serialized Form
    • Constructor Detail

      • InsufficientVoucherBalanceException

        public InsufficientVoucherBalanceException()
      • InsufficientVoucherBalanceException

        public InsufficientVoucherBalanceException​(CurrencyAmountDTO balance)