Class Money.InvalidRoundingModeException

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

public static class Money.InvalidRoundingModeException
extends RuntimeException

Class InvalidRoundingModeException

The InvalidRoundingModeException is thrown if an invalid Rounding Mode is specified (all rounding modes except ROUND_UNNECESSARY are valid). This is a non-checked exception and will be detected at runtime only.

See Also:
BigDecimal.ROUND_UP, BigDecimal.ROUND_DOWN, BigDecimal.ROUND_CEILING, BigDecimal.ROUND_FLOOR, BigDecimal.ROUND_HALF_UP, BigDecimal.ROUND_HALF_DOWN, BigDecimal.ROUND_HALF_EVEN, Serialized Form

Constructor Summary
Money.InvalidRoundingModeException()
          Default constructor for a InvalidRoundingModeException object.
Money.InvalidRoundingModeException(String info)
          Constructor for a InvalidRoundingModeException 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.InvalidRoundingModeException

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

Money.InvalidRoundingModeException

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

Parameters:
info - Descriptive information