| 6046 | } |
| 6047 | |
| 6048 | void YAttachment::ping(CheckStatusWrapper* status) |
| 6049 | { |
| 6050 | try |
| 6051 | { |
| 6052 | YEntry<YAttachment> entry(status, this); |
| 6053 | |
| 6054 | entry.next()->ping(status); |
| 6055 | |
| 6056 | if (status->getState() & IStatus::STATE_ERRORS) |
| 6057 | { |
| 6058 | if (!savedStatus.getError()) |
| 6059 | savedStatus.save(status); |
| 6060 | |
| 6061 | entry.next()->release(); |
| 6062 | next = nullptr; |
| 6063 | |
| 6064 | status_exception::raise(savedStatus.value()); |
| 6065 | } |
| 6066 | } |
| 6067 | catch (const Exception& e) |
| 6068 | { |
| 6069 | e.stuffException(status); |
| 6070 | } |
| 6071 | } |
| 6072 | |
| 6073 | void YAttachment::detach(CheckStatusWrapper* status) |
| 6074 | { |
no test coverage detected