Venice 0.751beta

nz.org.venice.quote
Class ExchangeRateFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended bynz.org.venice.quote.ExchangeRateFormatException
All Implemented Interfaces:
java.io.Serializable

public class ExchangeRateFormatException
extends java.lang.Throwable

An exception which is raised when there is a problem parsing a currency exchange rate

Author:
Andrew Leppard
See Also:
Serialized Form

Constructor Summary
ExchangeRateFormatException(java.lang.String reason)
          Create a new exchange rate format exception.
 
Method Summary
 java.lang.String getReason()
          Return the reason this exception was raised.
 java.lang.String toString()
          Convert the exception to a string
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExchangeRateFormatException

public ExchangeRateFormatException(java.lang.String reason)
Create a new exchange rate format exception.

Parameters:
reason - the reason for this exception
Method Detail

getReason

public java.lang.String getReason()
Return the reason this exception was raised.

Returns:
the reason

toString

public java.lang.String toString()
Convert the exception to a string

Returns:
string version of the exception

Venice 0.751beta