com.bea.commerce.ebusiness.discount.mgmt
Class DiscountInUseException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.beasys.commerce.foundation.exception.ApplicationException
|
+--com.bea.commerce.ebusiness.discount.DiscountException
|
+--com.bea.commerce.ebusiness.discount.mgmt.DiscountInUseException
- 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:
com.bea.commerce.ebusiness.discount.mgmt.DiscountMgmt#deleteDiscount
,
DiscountAssociation
, Serialized Form
Constructor Summary
|
DiscountInUseException(java.lang.String messageKey)
Class constructor taking key of the associated catalog message. |
DiscountInUseException(java.lang.String messageKey,
java.lang.Object argument)
Class constructor taking key of the associated catalog message
and a message parameter substitution argument. |
DiscountInUseException(java.lang.String messageKey,
java.lang.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,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DiscountInUseException
public DiscountInUseException(java.lang.String messageKey)
- Class constructor taking key of the associated catalog message.
- Parameters:
messageKey
- The associated catalog message key.
DiscountInUseException
public DiscountInUseException(java.lang.String messageKey,
java.lang.Object argument)
- 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(java.lang.String messageKey,
java.lang.Object[] arguments)
- 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 © 2002 BEA Systems, Inc. All Rights Reserved