MCPcopy Create free account
hub / github.com/apache/thrift / testMultiException

Method testMultiException

test/cpp/src/TestServer.cpp:557–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

testMultiExceptionMethod · 0.45

Tested by

no test coverage detected