© 2005 BEA Systems, Inc.

com.bea.commerce.ebusiness.discount
Class DiscountSystemException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.ejb.EJBException
                  extended bycom.beasys.commerce.foundation.exception.SystemException
                      extended bycom.bea.commerce.ebusiness.discount.DiscountSystemException
All Implemented Interfaces:
MessageCatalogException, Serializable
Direct Known Subclasses:
DiscountCreationException

public class DiscountSystemException
extends SystemException

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

See Also:
Serialized Form

Field Summary
protected static String DEFAULT_MSG_KEY
          default message key.
static String MESSAGE_NAMESPACE
          The name of the resource bundle
 
Fields inherited from class com.beasys.commerce.foundation.exception.SystemException
logMessages, userMessages
 
Constructor Summary
DiscountSystemException(Object argument)
          Constructs a new exception using the default message key which produces a message from the argument specified.
DiscountSystemException(String messageKey)
          Class constructor taking key of the associated catalog message.
DiscountSystemException(String messageKey, Exception exception)
          Class constructor taking key of the associated catalog message and an embedded exception.
DiscountSystemException(String messageKey, Object argument)
          Class constructor taking key of the associated catalog message and a message parameter substitution argument.
DiscountSystemException(String messageKey, Object[] arguments)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
DiscountSystemException(String messageKey, Object[] arguments, Exception exception)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
DiscountSystemException(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.SystemException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods inherited from class javax.ejb.EJBException
getCausedByException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MSG_KEY

protected static final String DEFAULT_MSG_KEY
default message key. This key expects an argument which is the message.

See Also:
Constant Field Values

MESSAGE_NAMESPACE

public static final String MESSAGE_NAMESPACE
The name of the resource bundle

See Also:
Constant Field Values
Constructor Detail

DiscountSystemException

public DiscountSystemException(Object argument)
Constructs a new exception using the default message key which produces a message from the argument specified.


DiscountSystemException

public DiscountSystemException(String messageKey)
Class constructor taking key of the associated catalog message.


DiscountSystemException

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


DiscountSystemException

public DiscountSystemException(String messageKey,
                               Object argument)
Class constructor taking key of the associated catalog message and a message parameter substitution argument.


DiscountSystemException

public DiscountSystemException(String messageKey,
                               Object[] arguments)
Class constructor taking key of the associated catalog message and message parameter substitution arguments.


DiscountSystemException

public DiscountSystemException(String messageKey,
                               Object[] arguments,
                               Exception exception)
Class constructor taking key of the associated catalog message and message parameter substitution arguments.


DiscountSystemException

public DiscountSystemException(String messageKey,
                               Object argument,
                               Exception exception)
Class constructor taking key of the associated catalog message and a message parameter substitution argument.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved