CurrencyMismatchException Class

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

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.

Related Topics

ApplicationException


Hierarchy
Object
  Throwable
    Exception
      RuntimeException
        FatalApplicationException
          QuoteException
            CurrencyMismatchException
All Implemented Interfaces

MessageCatalogException, Serializable

Field Summary

public static final String
KEY
The name of the resource bundle
   
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

CurrencyMismatchException(Object argument)

Class constructor taking an argument 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)

CurrencyMismatchException(String messageKey)

Class constructor taking a message key for the message.
 

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

 

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, 
                                 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)

CurrencyMismatchException

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