Added rollback to exception handling r=twobraids