9 using namespace reduce_types;
12 ReducingOutputMessageBuilder::ReducingOutputMessageBuilder
13 (
const SharedPtr<ReducingExceptionsTranslatorIf>& reducingExceptionsTranslator)
15 this->_reducingExceptionsTranslator = reducingExceptionsTranslator;
29 (msgType, ttl, json, errCode, errMsg, elapsedTime));
36 string emptyJSON =
"";
39 int errCode = _reducingExceptionsTranslator->translateToErrorCode(e);
40 string errMsg = _reducingExceptionsTranslator->translateToErrorMsg(e);
43 (HCE::types::MessageType::mtNull, ttl, emptyJSON, errCode, errMsg, elapsedTime));