MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / ThrowError

Method ThrowError

FileFilter/UnifiedDiffParser.cpp:255–262  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

253
254 //-------------------------------------------------------------------------
255 void UnifiedDiffParser::ThrowError(const Stream& stream, const std::wstring& message) const
256 {
257 std::wostringstream ostr;
258
259 ostr << L"Error line " << stream.currentLine_ << L": " << stream.lastLineRead_ << std::endl;
260 ostr << message;
261 throw UnifiedDiffParserException(ostr.str());
262 }
263}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected