# com.bea.commerce.ebusiness.discount.mgmt
DiscountCreationException Class

public class DiscountCreationException
extends `DiscountSystemException`

Indicates that a given discount could not be created. This system exception will be thrown by the discount managment service's `deploySet` method when a system level error occurs that prevents the discount from being created.

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `RuntimeException`
  `EJBException`
  `SystemException`
  `DiscountSystemException`
  `DiscountCreationException`

All Implemented Interfaces
  `MessageCatalogException`, `Serializable`

## Field Summary

Fields from com.bea.commerce.ebusiness.discount`.`DiscountSystemException``
``DEFAULT_MSG_KEY`, `MESSAGE_NAMESPACE``

Fields from com.beasys.commerce.foundation.exception`.`SystemException``
``logMessages`, `userMessages``

## Constructor Summary

DiscountCreationException(`String` messageKey, `Exception` exception) Class constructor taking the key of the associated catalog message and an embedded exception.

## Method Summary

Methods from `com.beasys.commerce.foundation.exception.`SystemException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLocalizedMessage`, `getLogMessage`, `getLogMessages`, `getMessage`, `getUserMessage`, `getUserMessages`, `toString``

Methods from `javax.ejb.`EJBException``
`getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace`

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

### DiscountCreationException

    public DiscountCreationException(String messageKey,
                                     Exception exception)

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