Syntax
void
checkForOpenTransactions
(
final Transaction
txn
) throws TransactionParticipantException
Parameters
-
txn –
the transaction to check.
Exceptions
-
TransactionParticipantException –
if the payer has open transactions
Usage
Checks if the payer of the passed money transaction has open transactions pending and sets an appropriate error code if at least one open transaction (excluding the passed transaction) is found.