© 2004 BEA Systems, Inc.

com.bea.commerce.ebusiness.price.quote
Class MinimumPriceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.beasys.commerce.foundation.exception.FatalApplicationException
                  extended bycom.bea.commerce.ebusiness.price.quote.QuoteException
                      extended bycom.bea.commerce.ebusiness.price.quote.MinimumPriceException
All Implemented Interfaces:
MessageCatalogException, Serializable

public class MinimumPriceException
extends QuoteException

A MinimumPriceException indicates that some money value is below a prescribed minimum. The prescribed

See Also:
ApplicationException, Serialized Form

Field Summary
static String KEY
          The name of the resource bundle
static String MIN
           
static String TOTAL_MIN
           
static String UNIT_MIN
           
 
Fields inherited from class com.bea.commerce.ebusiness.price.quote.QuoteException
MESSAGE_KEY, MESSAGE_NAMESPACE
 
Fields inherited from class 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
 
Methods inherited from class com.beasys.commerce.foundation.exception.FatalApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
The name of the resource bundle

See Also:
Constant Field Values

MIN

public static final String MIN
See Also:
Constant Field Values

TOTAL_MIN

public static final String TOTAL_MIN
See Also:
Constant Field Values

UNIT_MIN

public static final String UNIT_MIN
See Also:
Constant Field Values
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


© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved