Class CartItemValidationException

  • All Implemented Interfaces:
    Serializable

    public final class CartItemValidationException
    extends RuntimeException
    Thrown when a CartItem is invalidly configured.
    Author:
    Nathan Moore (nathandmoore)
    See Also:
    Serialized Form
    • Constructor Detail

      • CartItemValidationException

        public CartItemValidationException​(@NonNull
                                           @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
    • Method Detail

      • getCartItem

        public com.broadleafcommerce.cart.client.domain.CartItem getCartItem()
        The invalid CartItem with the errors.
        Returns:
        The invalid CartItem with the errors.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object