DiscountSystemException Class
- public class DiscountSystemException
extends SystemException
The base class for all system exceptions that will be throw by the
discount package.
-
Hierarchy
-
Object
Throwable
Exception
RuntimeException
EJBException
SystemException
DiscountSystemException
-
All Implemented Interfaces
-
MessageCatalogException, Serializable
-
Direct Known Subclasses
-
DiscountCreationException
Methods from com.beasys.commerce.foundation.exception.SystemException |
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 |
DEFAULT_MSG_KEY
protected static final String DEFAULT_MSG_KEY
- default message key. This key expects an argument which is the message.
MESSAGE_NAMESPACE
public static final String MESSAGE_NAMESPACE
- The name of the resource bundle
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,
Exception exception)
- Class constructor taking key of the associated catalog message
and an embedded exception.
DiscountSystemException
public DiscountSystemException(String messageKey,
Object argument,
Exception exception)
- Class constructor taking key of the associated catalog message
and a message parameter substitution argument.
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,
Exception exception)
- Class constructor taking key of the associated catalog message and
message parameter substitution arguments.
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)
- Class constructor taking key of the associated catalog message.