All Packages Class Hierarchy This Package Previous Next Index
Class com.roguewave.money.currency.v1_0.InvalidExchangeException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----com.roguewave.money.currency.v1_0.MoneyException
|
+----com.roguewave.money.currency.v1_0.InvalidExchangeException
- public class InvalidExchangeException
- extends MoneyException
An InvalidExchangeException
occurs whenever a currency exchange
could not be properly completed.
- Author:
- Trevor Misfeldt
- See Also:
- MoneyException
-
DEFAULT_MESSAGE
-
-
InvalidExchangeException()
- Creates a new exception, with operation
EXCHANGE
, and the default message.
-
InvalidExchangeException(String)
- Creates a new exception, with operation
EXCHANGE
and a message
detailing the problem.
-
toString()
- Returns a string representation of the exception consisting of the message.
DEFAULT_MESSAGE
public static String DEFAULT_MESSAGE
InvalidExchangeException
public InvalidExchangeException()
- Creates a new exception, with operation
EXCHANGE
, and the default message.
- See Also:
- DEFAULT_MESSAGE, EXCHANGE
InvalidExchangeException
public InvalidExchangeException(String message)
- Creates a new exception, with operation
EXCHANGE
and a message
detailing the problem.
- Parameters:
- message - problem description
- See Also:
- EXCHANGE
toString
public String toString()
- Returns a string representation of the exception consisting of the message.
- Returns:
- a string
- Overrides:
- toString in class MoneyException
All Packages Class Hierarchy This Package Previous Next Index