Class StaleSavedPaymentMethodVersionException

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

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

    • StaleSavedPaymentMethodVersionException

      public StaleSavedPaymentMethodVersionException(Integer requestVersion, @Nullable SavedPaymentMethod upToDateSavedPaymentMethod)
    • StaleSavedPaymentMethodVersionException

      public StaleSavedPaymentMethodVersionException(Integer requestVersion, @Nullable SavedPaymentMethod upToDateSavedPaymentMethod, Throwable cause)
    • StaleSavedPaymentMethodVersionException

      public StaleSavedPaymentMethodVersionException(String message, SavedPaymentMethod upToDateSavedPaymentMethod, Throwable cause)
  • Method Details

    • getUpToDateSavedPaymentMethod

      @Nullable public SavedPaymentMethod getUpToDateSavedPaymentMethod()