public static class Money.InvalidRoundingModeException extends RuntimeException
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.
| Constructor and Description |
|---|
InvalidRoundingModeException()
Default constructor for a InvalidRoundingModeException object.
|
InvalidRoundingModeException(String info)
Constructor for a InvalidRoundingModeException object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRoundingModeException()
public InvalidRoundingModeException(String info)
info - Descriptive information
Copyright © 2002–2019 Starter Inc.. All rights reserved.