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