| 5507 | } |
| 5508 | |
| 5509 | ITransaction* YTransaction::validate(CheckStatusWrapper* status, IAttachment* testAtt) |
| 5510 | { |
| 5511 | try |
| 5512 | { |
| 5513 | YEntry<YTransaction> entry(status, this); |
| 5514 | |
| 5515 | // Do not raise error in status - just return NULL if attachment does not match |
| 5516 | if (attachment.get() == testAtt) |
| 5517 | return this; |
| 5518 | |
| 5519 | return entry.next()->validate(status, testAtt); |
| 5520 | } |
| 5521 | catch (const Exception& ex) |
| 5522 | { |
| 5523 | ex.stuffException(status); |
| 5524 | } |
| 5525 | |
| 5526 | return NULL; |
| 5527 | } |
| 5528 | |
| 5529 | YTransaction* YTransaction::enterDtc(CheckStatusWrapper* status) |
| 5530 | { |
no test coverage detected