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

Variable Index

 o DEFAULT_MESSAGE

Constructor Index

 o InvalidExchangeException()
Creates a new exception, with operation EXCHANGE, and the default message.
 o InvalidExchangeException(String)
Creates a new exception, with operation EXCHANGE and a message detailing the problem.

Method Index

 o toString()
Returns a string representation of the exception consisting of the message.

Variables

 o DEFAULT_MESSAGE
 public static String DEFAULT_MESSAGE

Constructors

 o InvalidExchangeException
 public InvalidExchangeException()
Creates a new exception, with operation EXCHANGE, and the default message.

See Also:
DEFAULT_MESSAGE, EXCHANGE
 o 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

Methods

 o 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