Class CurrenciesAreNotEqualException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CurrenciesAreNotEqualException
    extends java.lang.RuntimeException
    Thrown when operating on two Moneys with different Currency.
    See Also:
    Serialized Form
    • 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
    • Constructor Detail

      • CurrenciesAreNotEqualException

        public CurrenciesAreNotEqualException​(java.lang.String message)