DiscountInUseException Class

com.bea.commerce.ebusiness.discount.mgmt
DiscountInUseException Class

public class DiscountInUseException

    extends DiscountException

Indicates that a discount could not be deleted because it is being used. In this case being used simply means that at least one instance of the discount is being used in a discount association.

Related Topics

DiscountAssociation


Hierarchy
Object
  Throwable
    Exception
      ApplicationException
        DiscountException
          DiscountInUseException
All Implemented Interfaces

MessageCatalogException, Serializable

Field Summary

   
Fields from  com.bea.commerce.ebusiness.discount.DiscountException
MESSAGE_NAMESPACE
 
Fields from  com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 

Constructor Summary

DiscountInUseException(String messageKey, Object argument)

Class constructor taking key of the associated catalog message and a message parameter substitution argument.
DiscountInUseException(String messageKey, Object arguments)

Class constructor taking key of the associated catalog message and message parameter substitution arguments.
DiscountInUseException(String messageKey)

Class constructor taking key of the associated catalog message.
 

Method Summary

 
Methods from  com.beasys.commerce.foundation.exception.ApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.beasys.commerce.foundation.exception.MessageCatalogException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLogMessage, getLogMessages, getUserMessage, getUserMessages
 

Constructor Detail

DiscountInUseException

public DiscountInUseException(String messageKey, 
                              Object argument)
Class constructor taking key of the associated catalog message and a message parameter substitution argument.

DiscountInUseException

public DiscountInUseException(String messageKey, 
                              Object[] arguments)
Class constructor taking key of the associated catalog message and message parameter substitution arguments.

DiscountInUseException

public DiscountInUseException(String messageKey)
Class constructor taking key of the associated catalog message.