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 aCartItem
is 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 boolean
canEqual(Object other)
boolean
equals(Object o)
com.broadleafcommerce.cart.client.domain.CartItem
getCartItem()
The invalidCartItem
with the errors.int
hashCode()
String
toString()
-
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 invalidCartItem
with the errors.- Returns:
- The invalid
CartItem
with the errors.
-
canEqual
protected boolean canEqual(Object other)
-
-