Class IllegalCurrencyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalCurrencyException
    extends java.lang.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serialization lock.
    • Constructor Summary

      Constructors 
      Constructor Description
      IllegalCurrencyException​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serialization lock.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IllegalCurrencyException

        public IllegalCurrencyException​(java.lang.String message)
        Constructor.
        Parameters:
        message - the message, may be null