Class CartItemValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cartoperation.exception.CartItemValidationException
-
- All Implemented Interfaces:
Serializable
public final class CartItemValidationException extends RuntimeException
Thrown when aCartItemis invalidly configured.- Author:
- Nathan Moore (nathandmoore)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartItemValidationException(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)com.broadleafcommerce.cart.client.domain.CartItemgetCartItem()The invalidCartItemwith the errors.inthashCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getCartItem
public com.broadleafcommerce.cart.client.domain.CartItem getCartItem()
The invalidCartItemwith the errors.- Returns:
- The invalid
CartItemwith the errors.
-
canEqual
protected boolean canEqual(Object other)
-
-