org.broadleafcommerce.core.order.service.exception
Class RequiredAttributeNotProvidedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.broadleafcommerce.core.order.service.exception.RequiredAttributeNotProvidedException
All Implemented Interfaces:
Serializable

public class RequiredAttributeNotProvidedException
extends RuntimeException

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:
Serialized Form

Field Summary
protected  String attributeName
           
 
Constructor Summary
RequiredAttributeNotProvidedException(String attributeName)
           
RequiredAttributeNotProvidedException(String message, String attributeName)
           
RequiredAttributeNotProvidedException(String message, String attributeName, Throwable cause)
           
 
Method Summary
 String getAttributeName()
           
 void setAttributeName(String attributeName)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeName

protected String attributeName
Constructor Detail

RequiredAttributeNotProvidedException

public RequiredAttributeNotProvidedException(String message,
                                             String attributeName)

RequiredAttributeNotProvidedException

public RequiredAttributeNotProvidedException(String message,
                                             String attributeName,
                                             Throwable cause)

RequiredAttributeNotProvidedException

public RequiredAttributeNotProvidedException(String attributeName)
Method Detail

getAttributeName

public String getAttributeName()

setAttributeName

public void setAttributeName(String attributeName)


Copyright © 2013. All Rights Reserved.