com.google.bitcoin.core
Class InsufficientMoneyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.bitcoin.core.InsufficientMoneyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InsufficientMoneyException.CouldNotAdjustDownwards

public class InsufficientMoneyException
extends Exception

Thrown to indicate that you don't have enough money available to perform the requested operation.

See Also:
Serialized Form

Nested Class Summary
static class InsufficientMoneyException.CouldNotAdjustDownwards
          Thrown when we were trying to empty the wallet, and the total amount of money we were trying to empty after being reduced for the fee was smaller than the min payment.
 
Field Summary
 BigInteger missing
          Contains the number of satoshis that would have been required to complete the operation.
 
Constructor Summary
protected InsufficientMoneyException()
           
  InsufficientMoneyException(BigInteger missing)
           
  InsufficientMoneyException(BigInteger missing, 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
 

Field Detail

missing

@Nullable
public final BigInteger missing
Contains the number of satoshis that would have been required to complete the operation.

Constructor Detail

InsufficientMoneyException

protected InsufficientMoneyException()

InsufficientMoneyException

public InsufficientMoneyException(BigInteger missing)

InsufficientMoneyException

public InsufficientMoneyException(BigInteger missing,
                                  String message)


Copyright © 2014. All rights reserved.