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

Method unexpectedExceptionWait

lib/cpp/test/processor/Handlers.h:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void unexpectedExceptionWait(const std::string& message) override {
87 concurrency::Guard g(mutex_);
88 log_->append(EventLog::ET_CALL_UNEXPECTED_EXCEPTION_WAIT, 0, 0);
89
90 blockUntilTriggered();
91
92 MyError e;
93 e.message = message;
94 throw e;
95 }
96
97 /**
98 * After prepareTriggeredCall() is invoked, calls to any of the *Wait()

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected