Class CartOptimisticLockingFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cart.service.exception.CartOptimisticLockingFailureException
-
- All Implemented Interfaces:
Serializable
public class CartOptimisticLockingFailureException extends RuntimeException
Exception thrown when optimistic locking fails during a cart save. This will be used to try and get the caller the latest version of the cart so they can retry the operation.- Author:
- Jacob Mitash
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartOptimisticLockingFailureException(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCartId()
com.broadleafcommerce.data.tracking.core.context.ContextInfo
getContextInfo()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-