com.google.bitcoin.core
Class InsufficientMoneyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
missing
@Nullable
public final BigInteger missing
- Contains the number of satoshis that would have been required to complete the operation.
InsufficientMoneyException
protected InsufficientMoneyException()
InsufficientMoneyException
public InsufficientMoneyException(BigInteger missing)
InsufficientMoneyException
public InsufficientMoneyException(BigInteger missing,
String message)
Copyright © 2014. All rights reserved.