MinimumPriceException Class

com.bea.commerce.ebusiness.price.quote
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

Field Summary

public static final String
KEY
The name of the resource bundle
public static final String
MIN
String
public static final String
TOTAL_MIN
String
public static final String
UNIT_MIN
String
   
Fields from  com.bea.commerce.ebusiness.price.quote.QuoteException
MESSAGE_KEY, MESSAGE_NAMESPACE
 
Fields from  com.beasys.commerce.foundation.exception.FatalApplicationException
embeddedException, logMessages, userMessages
 

Constructor Summary

MinimumPriceException(Money actual, double min)

Constructs a new exception with specified values and uses the MinimumPriceException.MIN messsage key.
MinimumPriceException(Object argument)

Class constructor taking an argument for the message.
MinimumPriceException(String messageKey, Money actual, double min)

Constructs a new exception with specified values
 

Method Summary

 
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
 

Field Detail

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

 

Constructor Detail

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