Class StalePaymentTransactionVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.paymenttransaction.exception.StalePaymentTransactionVersionException
All Implemented Interfaces:
Serializable

public class StalePaymentTransactionVersionException extends RuntimeException
Exception thrown when attempting to modify a payment transaction when the client has an out of date version of the payment transaction.
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

    • StalePaymentTransactionVersionException

      public StalePaymentTransactionVersionException(Integer requestVersion, @Nullable PaymentTransaction upToDatePaymentTransaction)
    • StalePaymentTransactionVersionException

      public StalePaymentTransactionVersionException(Integer requestVersion, @Nullable PaymentTransaction upToDatePaymentTransaction, Throwable cause)
    • StalePaymentTransactionVersionException

      public StalePaymentTransactionVersionException(String message, PaymentTransaction upToDatePaymentTransaction, Throwable cause)
  • Method Details

    • getUpToDatePaymentTransaction

      @Nullable public PaymentTransaction getUpToDatePaymentTransaction()