Check the restriction for the given transaction.
Syntax
void
restrictionCheck
(
Transaction
moneyTxn
) throws TransactionRestrictionException
Parameters
-
moneyTxn –
the transaction to check for restriction violations.
Exceptions
-
TransactionRestrictionException –
if a restriction is violated.