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

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

Deprecated

@Deprecated
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)
          Deprecated Class constructor taking key of the associated catalog message.
DiscountInUseException(String messageKey, Object argument)
          Deprecated Class constructor taking key of the associated catalog message and a message parameter substitution argument.
DiscountInUseException(String messageKey, Object[] arguments)
          Deprecated Class constructor taking key of the associated catalog message and message parameter substitution arguments.
 
Method Summary
 
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)
Deprecated 
Class constructor taking key of the associated catalog message.

Parameters
messageKey - The associated catalog message key.

DiscountInUseException

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

Parameters
messageKey - The associated catalog message key.
argument - The message parameter substitution argument.

DiscountInUseException

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

Parameters
messageKey - The associated catalog message key.
arguments - The message parameter substitution arguments.


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.