| 555 | } |
| 556 | |
| 557 | void testMultiException( |
| 558 | std::function<void(Xtruct const& _return)> cob, |
| 559 | std::function<void(::apache::thrift::TDelayedException* _throw)> exn_cob, |
| 560 | const std::string& arg0, |
| 561 | const std::string& arg1) override { |
| 562 | Xtruct res; |
| 563 | try { |
| 564 | _delegate->testMultiException(res, arg0, arg1); |
| 565 | } catch (const apache::thrift::TException& e) { |
| 566 | exn_cob(apache::thrift::TDelayedException::delayException(e)); |
| 567 | return; |
| 568 | } |
| 569 | cob(res); |
| 570 | } |
| 571 | |
| 572 | void testOneway(std::function<void()> cob, const int32_t secondsToSleep) override { |
| 573 | _delegate->testOneway(secondsToSleep); |
nothing calls this directly
no test coverage detected