© 2004 BEA Systems, Inc.

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

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.CurrencyMismatchException
All Implemented Interfaces:
MessageCatalogException, Serializable

public class CurrencyMismatchException
extends QuoteException

A CurrencyMismatchException indicates that the currencies of Money values within the Quote object do not match. The Quote package is designed to enforce a single currency for all Money values.

See Also:
ApplicationException, Serialized Form

Field Summary
static String KEY
          The name of the resource bundle
 
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
CurrencyMismatchException(Object argument)
          Class constructor taking an argument for the message.
CurrencyMismatchException(String messageKey)
          Class constructor taking a message key for the message.
CurrencyMismatchException(String messageKey, Exception exception)
          Class constructor taking key of the associated catalog message and an embedded exception.
CurrencyMismatchException(String messageKey, Object argument)
          Class constructor taking key of the associated catalog message and a message parameter substitution argument.
CurrencyMismatchException(String messageKey, Object[] arguments)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
CurrencyMismatchException(String expected, String actual, String where)
           
 
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
Constructor Detail

CurrencyMismatchException

public CurrencyMismatchException(Object argument)
Class constructor taking an argument for the message. Uses the superclasses default key.


CurrencyMismatchException

public CurrencyMismatchException(String messageKey)
Class constructor taking a message key for the message.


CurrencyMismatchException

public CurrencyMismatchException(String messageKey,
                                 Exception exception)
Class constructor taking key of the associated catalog message and an embedded exception.


CurrencyMismatchException

public CurrencyMismatchException(String messageKey,
                                 Object argument)
Class constructor taking key of the associated catalog message and a message parameter substitution argument.


CurrencyMismatchException

public CurrencyMismatchException(String messageKey,
                                 Object[] arguments)
Class constructor taking key of the associated catalog message and message parameter substitution arguments.


CurrencyMismatchException

public CurrencyMismatchException(String expected,
                                 String actual,
                                 String where)

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved