Class Money.InvalidScaleFactorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--Money.InvalidScaleFactorException
All Implemented Interfaces:
Serializable
Enclosing class:
Money

public static class Money.InvalidScaleFactorException
extends RuntimeException

Class InvalidScaleFactorException

The InvalidScaleFactorException is thrown if an invalid scale factor is specified (valid scale factors are 0, 1, and 2). This is a non-checked exception and will be detected at runtime only.

See Also:
Serialized Form

Constructor Summary
Money.InvalidScaleFactorException()
          Default constructor for a InvalidScaleFactorException object.
Money.InvalidScaleFactorException(String info)
          Constructor for a InvalidScaleFactorException object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Money.InvalidScaleFactorException

public Money.InvalidScaleFactorException()
Default constructor for a InvalidScaleFactorException object.

Money.InvalidScaleFactorException

public Money.InvalidScaleFactorException(String info)
Constructor for a InvalidScaleFactorException object.

Parameters:
info - Descriptive information