Fixed exception handling in transactionLayer.createClientTransaction