- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.joda.money.IllegalCurrencyException
-
- All Implemented Interfaces:
Serializable
public class IllegalCurrencyException extends IllegalArgumentException
Exception thrown when the requested currency is illegal.For example, this exception would be thrown when trying to obtain a currency using an unrecognised currency code or locale.
This exception makes no guarantees about immutability or thread-safety.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalCurrencyException(String message)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalCurrencyException
public IllegalCurrencyException(String message)
Constructor.- Parameters:
message
- the message, may be null
-
-