© 2002 BEA Systems, Inc.


com.bea.commerce.ebusiness.discount
Class DiscountSystemException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.ejb.EJBException
                          |
                          +--com.beasys.commerce.foundation.exception.SystemException
                                |
                                +--com.bea.commerce.ebusiness.discount.DiscountSystemException
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 java.lang.String DEFAULT_MSG_KEY
          default message key.
static java.lang.String MESSAGE_NAMESPACE
          The name of the resource bundle
 
Fields inherited from class com.beasys.commerce.foundation.exception.SystemException
logMessages, userMessages
 
Constructor Summary
DiscountSystemException(java.lang.Object argument)
          Constructs a new exception using the default message key which produces a message from the argument specified.
DiscountSystemException(java.lang.String messageKey)
          Class constructor taking key of the associated catalog message.
DiscountSystemException(java.lang.String messageKey, java.lang.Exception exception)
          Class constructor taking key of the associated catalog message and an embedded exception.
DiscountSystemException(java.lang.String messageKey, java.lang.Object argument)
          Class constructor taking key of the associated catalog message and a message parameter substitution argument.
DiscountSystemException(java.lang.String messageKey, java.lang.Object[] arguments)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
DiscountSystemException(java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Exception exception)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
DiscountSystemException(java.lang.String messageKey, java.lang.Object argument, java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE_NAMESPACE

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

DEFAULT_MSG_KEY

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

DiscountSystemException

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

Parameters:
argument - the object to use to generate the exception message.

DiscountSystemException

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

Parameters:
messageKey - the associated catalog message key

DiscountSystemException

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

Parameters:
messageKey - The associated catalog message key.
exception - The embedded exception.

DiscountSystemException

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

Parameters:
messageKey - The associated catalog message key.
argument - The message parameter substitution argument.

DiscountSystemException

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

Parameters:
messageKey - The associated catalog message key.
argument - The message parameter substitution argument.
exception - exception to embed in the newly constructed exception.

DiscountSystemException

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

Parameters:
messageKey - The associated catalog message key.
arguments - The message parameter substitution arguments.

DiscountSystemException

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

Parameters:
messageKey - The associated catalog message key.
arguments - The message parameter substitution arguments.
exception - exception to embed in the newly constructed exception.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved