mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
Minor: add a missing kdoc for InsufficientBalanceException
This commit is contained in:
parent
626b3e6bd3
commit
785bae9e48
@ -5,6 +5,11 @@ import net.corda.core.flows.FlowException
|
||||
import net.corda.core.identity.AbstractParty
|
||||
import java.security.PublicKey
|
||||
|
||||
/**
|
||||
* Thrown if a request is made to spend an amount of a [FungibleAsset] but there aren't enough tokens in the vault.
|
||||
*
|
||||
* @property amountMissing An [Amount] that specifies how many tokens were missing.
|
||||
*/
|
||||
class InsufficientBalanceException(val amountMissing: Amount<*>) : FlowException("Insufficient balance, missing $amountMissing")
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user