Class CartItemValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.CartItemValidationException
- All Implemented Interfaces:
Serializable
Thrown when a
CartItem
is invalidly configured.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
ConstructorDescriptionCartItemValidationException
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CartItemValidationException
public CartItemValidationException(@NonNull @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
-
-
Method Details
-
getCartItem
public com.broadleafcommerce.cart.client.domain.CartItem getCartItem()The invalidCartItem
with the errors.- Returns:
- The invalid
CartItem
with the errors.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-