| 5394 | } |
| 5395 | |
| 5396 | void YTransaction::rollback(CheckStatusWrapper* status) |
| 5397 | { |
| 5398 | try |
| 5399 | { |
| 5400 | YEntry<YTransaction> entry(status, this, CHECK_WARN_ZERO_HANDLE); |
| 5401 | |
| 5402 | done(status, entry, this, [&]{ |
| 5403 | entry.next()->rollback(status); |
| 5404 | if (isNetworkError(status)) |
| 5405 | status->init(); |
| 5406 | }, [&]{entry.next()->deprecatedRollback(status);}); |
| 5407 | } |
| 5408 | catch (const Exception& e) |
| 5409 | { |
| 5410 | e.stuffException(status); |
| 5411 | } |
| 5412 | } |
| 5413 | |
| 5414 | void YTransaction::rollbackRetaining(CheckStatusWrapper* status) |
| 5415 | { |
no test coverage detected