DiscountException Class

com.bea.commerce.ebusiness.discount
DiscountException Class

public class DiscountException

    extends ApplicationException

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


Hierarchy
Object
  Throwable
    Exception
      ApplicationException
        DiscountException
All Implemented Interfaces

MessageCatalogException, Serializable
Direct Known Subclasses

AssociationAlreadyExistsException, AssociationCreationException, AssociationDeleteException, AssociationException, AssociationNotFoundException, DiscountInUseException, DiscountNotFoundException, DiscountParsingException, InvalidAssociationException, UseCountLimitException

Field Summary

public static final String
MESSAGE_NAMESPACE
The name of the resource bundle.
   
Fields from  com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 

Constructor Summary

DiscountException(String messageKey, Exception exception)

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

Class constructor taking key of the associated catalog message and a message parameter substitution argument.
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)

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
 

Field Detail

MESSAGE_NAMESPACE

public static final String MESSAGE_NAMESPACE
The name of the resource bundle.

 

Constructor Detail

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, 
                         Exception exception)
Class constructor taking key of the associated catalog message and a message parameter substitution argument.

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)
Class constructor taking key of the associated catalog message.