MCPcopy Create free account
hub / github.com/PDAL/PDAL / doExecution

Method doExecution

pdal/Kernel.cpp:239–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238
239int Kernel::doExecution(ProgramArgs& args)
240{
241 if (m_hardCoreDebug)
242 return innerRun(args);
243
244 int status = 1;
245 try
246 {
247 status = innerRun(args);
248 }
249 catch (pdal::pdal_error const& e)
250 {
251 Utils::printError(e.what());
252 return 1;
253 }
254 catch (std::exception const& e)
255 {
256 Utils::printError(e.what());
257 return 1;
258 }
259 catch (...)
260 {
261 Utils::printError("Caught unexpected exception.");
262 return 1;
263 }
264
265 return status;
266}
267
268
269int Kernel::innerRun(ProgramArgs& args)

Callers

nothing calls this directly

Calls 2

printErrorFunction · 0.85
whatMethod · 0.45

Tested by

no test coverage detected