Class StaleCartException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.StaleCartException
All Implemented Interfaces:
Serializable

public class StaleCartException extends RuntimeException
Exception thrown when attempting to modify a cart when the client has an out of date version of the cart.
Author:
Jacob Mitash
See Also:
  • Constructor Details

    • StaleCartException

      public StaleCartException(Integer requestVersion, @Nullable com.broadleafcommerce.cart.client.domain.Cart upToDateCart)
    • StaleCartException

      public StaleCartException(Integer requestVersion, @Nullable com.broadleafcommerce.cart.client.domain.Cart upToDateCart, Throwable cause)
    • StaleCartException

      public StaleCartException(String message, com.broadleafcommerce.cart.client.domain.Cart upToDateCart, Throwable cause)
  • Method Details

    • getUpToDateCart

      @Nullable public com.broadleafcommerce.cart.client.domain.Cart getUpToDateCart()