Public Member Functions | Private Attributes | List of all members
art::EventProcessor::EndPathRunnerTask Class Reference

Public Member Functions

 EndPathRunnerTask (EventProcessor *evp, ScheduleID const sid)
 
void operator() (std::exception_ptr ex) const
 

Private Attributes

EventProcessorevp_
 
ScheduleID const sid_
 

Detailed Description

Definition at line 1258 of file EventProcessor.cc.

Constructor & Destructor Documentation

art::EventProcessor::EndPathRunnerTask::EndPathRunnerTask ( EventProcessor evp,
ScheduleID const  sid 
)
inline

Definition at line 1260 of file EventProcessor.cc.

1261  : evp_{evp}, sid_{sid}
1262  {}

Member Function Documentation

void art::EventProcessor::EndPathRunnerTask::operator() ( std::exception_ptr  ex) const
inline

Definition at line 1265 of file EventProcessor.cc.

1266  {
1268  if (ex) {
1269  try {
1270  rethrow_exception(ex);
1271  }
1272  catch (cet::exception& e) {
1276  "EventProcessor: an exception occurred during current "
1277  "event processing",
1278  e);
1280  return;
1281  }
1282  mf::LogWarning(e.category())
1283  << "exception being ignored for current event:\n"
1284  << cet::trim_right_copy(e.what(), " \n");
1285  // WARNING: We continue processing after the catch blocks!!!
1286  }
1287  catch (...) {
1288  mf::LogError("PassingThrough")
1289  << "an exception occurred during current event processing\n";
1292  return;
1293  }
1294  }
1295 
1297 
1299  }
#define TDEBUG_BEGIN_TASK_SI(LEVEL, SI)
#define TDEBUG_END_TASK_SI(LEVEL, SI)
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
void store(std::exception_ptr ex_ptr)
std::string trim_right_copy(std::string source, std::string const &t=" ")
Definition: trim.h:54
const double e
actions::ActionCodes error_action(cet::exception &e) const
void finishEventAsync(ScheduleID sid)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
SharedException sharedException_
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

EventProcessor* art::EventProcessor::EndPathRunnerTask::evp_
private

Definition at line 1302 of file EventProcessor.cc.

ScheduleID const art::EventProcessor::EndPathRunnerTask::sid_
private

Definition at line 1303 of file EventProcessor.cc.


The documentation for this class was generated from the following file: