Now transaction id code handles exceptions.