© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.beasys.commerce.foundation.exception.ApplicationException
              extended bycom.bea.commerce.ebusiness.discount.DiscountException
                  extended bycom.bea.commerce.ebusiness.discount.mgmt.DiscountInUseException
All Implemented Interfaces:
MessageCatalogException, Serializable

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.

See Also:
DiscountAssociation, Serialized Form

Field Summary
 
Fields inherited from class com.bea.commerce.ebusiness.discount.DiscountException
MESSAGE_NAMESPACE
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
DiscountInUseException(String messageKey)
          Class constructor taking key of the associated catalog message.
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.
 
Methods inherited from class com.beasys.commerce.foundation.exception.ApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscountInUseException

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


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.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved