| 542 | } |
| 543 | |
| 544 | void testException( |
| 545 | std::function<void()> cob, |
| 546 | std::function<void(::apache::thrift::TDelayedException* _throw)> exn_cob, |
| 547 | const std::string& arg) override { |
| 548 | try { |
| 549 | _delegate->testException(arg); |
| 550 | } catch (const apache::thrift::TException& e) { |
| 551 | exn_cob(apache::thrift::TDelayedException::delayException(e)); |
| 552 | return; |
| 553 | } |
| 554 | cob(); |
| 555 | } |
| 556 | |
| 557 | void testMultiException( |
| 558 | std::function<void(Xtruct const& _return)> cob, |
nothing calls this directly
no test coverage detected