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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaleCartException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.cart.client.domain.Cart
getUpToDateCart()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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)
-
-