MinimumPriceException Class
- public class MinimumPriceException
extends QuoteException
A MinimumPriceException indicates that some money value is below
a prescribed minimum. The prescribed
Related Topics
ApplicationException
-
Hierarchy
-
Object
Throwable
Exception
RuntimeException
FatalApplicationException
QuoteException
MinimumPriceException
-
All Implemented Interfaces
-
MessageCatalogException, Serializable
Methods from com.beasys.commerce.foundation.exception.FatalApplicationException |
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 |
KEY
public static final String KEY
- The name of the resource bundle
MIN
public static final String MIN
TOTAL_MIN
public static final String TOTAL_MIN
UNIT_MIN
public static final String UNIT_MIN
MinimumPriceException
public MinimumPriceException(Money actual,
double min)
- Constructs a new exception with specified values and
uses the MinimumPriceException.MIN messsage key.
MinimumPriceException
public MinimumPriceException(Object argument)
- Class constructor taking an argument for the message.
Uses the MinimumPriceException.KEY
MinimumPriceException
public MinimumPriceException(String messageKey,
Money actual,
double min)
- Constructs a new exception with specified values