Class InsufficientMoneyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InsufficientMoneyException
    extends java.lang.Exception
    Thrown to indicate that you don't have enough money available to perform the requested operation.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Coin missing
      Contains the number of satoshis that would have been required to complete the operation.
    • 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

      • missing

        @Nullable
        public final Coin missing
        Contains the number of satoshis that would have been required to complete the operation.
    • Constructor Detail

      • InsufficientMoneyException

        protected InsufficientMoneyException()
      • InsufficientMoneyException

        public InsufficientMoneyException​(Coin missing)
      • InsufficientMoneyException

        public InsufficientMoneyException​(Coin missing,
                                          java.lang.String message)