Modified TransactionAction exception handling.
Updated validity checks.