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

public class AssociationException
extends `DiscountException`

An AssociationException is an ApplicationException that also maintains the primary key of the association it is related to.

Related Topics

``DiscountException``
``ApplicationException``

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `DiscountException`
  `AssociationException`

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

AssociationException(int uid, `String` msgKey, `Exception` ex)

## Method Summary

`public int` | `uid`()

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

### AssociationException

    public AssociationException(int uid,
                                String msgKey,
                                Exception ex)

## Method Detail

### uid() Method

    public int uid()