Class StaleCartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.StaleCartException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionStaleCartException
(Integer requestVersion, com.broadleafcommerce.cart.client.domain.Cart upToDateCart) StaleCartException
(Integer requestVersion, com.broadleafcommerce.cart.client.domain.Cart upToDateCart, Throwable cause) StaleCartException
(String message, com.broadleafcommerce.cart.client.domain.Cart upToDateCart, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.cart.client.domain.Cart
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StaleCartException
public StaleCartException(Integer requestVersion, @Nullable com.broadleafcommerce.cart.client.domain.Cart upToDateCart) -
StaleCartException
-
StaleCartException
-
-
Method Details
-
getUpToDateCart
@Nullable public com.broadleafcommerce.cart.client.domain.Cart getUpToDateCart()
-