Class InsufficientMoneyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bitcoinj.core.InsufficientMoneyException
All Implemented Interfaces:
Serializable

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

    • missing

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

    • InsufficientMoneyException

      protected InsufficientMoneyException()
    • InsufficientMoneyException

      public InsufficientMoneyException(Coin missing)
    • InsufficientMoneyException

      public InsufficientMoneyException(Coin missing, String message)
    • InsufficientMoneyException

      public InsufficientMoneyException(Coin missing, Coin available, Coin outputs, Coin fee)