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

Method testException

test/cpp/src/TestServer.cpp:544–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

testExceptionMethod · 0.45

Tested by

no test coverage detected