# com.bea.commerce.ebusiness.discount.association
UseCountLimitException Class

public class UseCountLimitException
extends `DiscountException`

Indicates that the discount association's use count has exceeded the discount's allowed uses limit

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `DiscountException`
  `UseCountLimitException`

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

UseCountLimitException(`String` messageKey, `Exception` exception) Class constructor taking key of the associated catalog message and an embedded exception.
UseCountLimitException(`String` messageKey, `Object` argument) Class constructor taking key of the associated catalog message and a message parameter substitution argument.
UseCountLimitException(`String` messageKey, `Object` arguments) Class constructor taking key of the associated catalog message and message parameter substitution arguments.
UseCountLimitException(`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

### UseCountLimitException

    public UseCountLimitException(String messageKey,
                                  Exception exception)

  Class constructor taking key of the associated catalog message and an embedded exception.

### UseCountLimitException

    public UseCountLimitException(String messageKey,
                                  Object argument)

  Class constructor taking key of the associated catalog message and a message parameter substitution argument.

### UseCountLimitException

    public UseCountLimitException(String messageKey,
                                  Object[] arguments)

  Class constructor taking key of the associated catalog message and message parameter substitution arguments.

### UseCountLimitException

    public UseCountLimitException(String messageKey)

  Class constructor taking key of the associated catalog message.