Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.commerce.ebusiness.discount
Class DiscountException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              com.beasys.commerce.foundation.exception.ApplicationException
                  com.bea.commerce.ebusiness.discount.DiscountException

All Implemented Interfaces:
  MessageCatalogException, Serializable

Direct Known Subclasses:
  AssociationAlreadyExistsException, AssociationCreationException, AssociationDeleteException, AssociationException, AssociationNotFoundException, DiscountInUseException, DiscountNotFoundException, DiscountParsingException, InvalidAssociationException, UseCountLimitException

public class DiscountException
extends ApplicationException

The base class for all application exceptions that will be throw by the `discount` package.

See Also:
  Serialized Form

Field Summary
`static String` | `MESSAGE_NAMESPACE` The name of the resource bundle.

Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
`embeddedException, logMessages, userMessages`

Constructor Summary
`DiscountException(String messageKey)` Class constructor taking key of the associated catalog message.
`DiscountException(String messageKey, Exception exception)` Class constructor taking key of the associated catalog message and an embedded exception.
`DiscountException(String messageKey, Object argument)` Class constructor taking key of the associated catalog message and a message parameter substitution argument.
`DiscountException(String messageKey, Object[] arguments)` Class constructor taking key of the associated catalog message and message parameter substitution arguments.
`DiscountException(String messageKey, Object argument, Exception exception)` Class constructor taking key of the associated catalog message and a message parameter substitution argument.

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`

Field Detail

### MESSAGE_NAMESPACE

    public static final String MESSAGE_NAMESPACE

  The name of the resource bundle.

  See Also:
    Constant Field Values

Constructor Detail

### DiscountException

    public DiscountException(String messageKey)

  Class constructor taking key of the associated catalog message.

### DiscountException

    public DiscountException(String messageKey,
                             Exception exception)

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

### DiscountException

    public DiscountException(String messageKey,
                             Object argument)

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

### DiscountException

    public DiscountException(String messageKey,
                             Object[] arguments)

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

### DiscountException

    public DiscountException(String messageKey,
                             Object argument,
                             Exception exception)

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 BEA Systems, Inc. All Rights Reserved