Class RequiredAttributeNotProvidedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.broadleafcommerce.core.order.service.exception.RequiredAttributeNotProvidedException
- All Implemented Interfaces:
Serializable
This runtime exception will be thrown when an attempt to add to cart without specifying
all required product options has been made.
- Author:
- apazzolini
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRequiredAttributeNotProvidedException(String attributeName) RequiredAttributeNotProvidedException(String message, String attributeName) RequiredAttributeNotProvidedException(String message, String attributeName, String productId) RequiredAttributeNotProvidedException(String message, String attributeName, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttributeName(String attributeName) voidsetProductId(String productId) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
- See Also:
-
productId
-
attributeName
-
-
Constructor Details
-
RequiredAttributeNotProvidedException
-
RequiredAttributeNotProvidedException
-
RequiredAttributeNotProvidedException
-
RequiredAttributeNotProvidedException
-
-
Method Details
-
getAttributeName
-
setAttributeName
-
getProductId
-
setProductId
-