Class 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 Detail

      • CartOptimisticLockingFailureException

        public CartOptimisticLockingFailureException​(String cartId,
                                                     @Nullable
                                                     com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
                                                     Throwable cause)
    • Method Detail

      • getCartId

        public String getCartId()
      • getContextInfo

        public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object