Class IllegalCurrencyException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by
All Implemented Interfaces:

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
IllegalCurrencyException(String message)
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public IllegalCurrencyException(String message)

message - the message, may be null

Copyright © 2009–2013 All rights reserved.