© 2002 BEA Systems, Inc.


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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.beasys.commerce.foundation.exception.FatalApplicationException
                          |
                          +--com.bea.commerce.ebusiness.price.quote.QuoteException
                                |
                                +--com.bea.commerce.ebusiness.price.quote.MinimumPriceException

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 java.lang.String KEY
          The name of the resource bundle
static java.lang.String MIN
           
static java.lang.String TOTAL_MIN
           
static java.lang.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(java.lang.Object argument)
          Class constructor taking an argument for the message.
MinimumPriceException(java.lang.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, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

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

UNIT_MIN

public static final java.lang.String UNIT_MIN

TOTAL_MIN

public static final java.lang.String TOTAL_MIN

MIN

public static final java.lang.String MIN
Constructor Detail

MinimumPriceException

public MinimumPriceException(java.lang.Object argument)
Class constructor taking an argument for the message. Uses the MinimumPriceException.KEY

Parameters:
argument - parameter to the message catalog.

MinimumPriceException

public MinimumPriceException(java.lang.String messageKey,
                             Money actual,
                             double min)
Constructs a new exception with specified values

Parameters:
messageKey - The associated catalog message key.
actual - the actual price that is below the minimum.
min - the minimum price the actual price is below.

MinimumPriceException

public MinimumPriceException(Money actual,
                             double min)
Constructs a new exception with specified values and uses the MinimumPriceException.MIN messsage key.

Parameters:
actual - the actual price that is below the minimum.
min - the minimum price the actual price is below.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved