LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 1219 of file EventProcessor.cc.

Constructor & Destructor Documentation

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

Definition at line 1221 of file EventProcessor.cc.

1222  : evp_{evp}, sid_{sid}
1223  {}

Member Function Documentation

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

Definition at line 1226 of file EventProcessor.cc.

References e, art::errors::EventProcessorFailure, art::actions::IgnoreCompletely, TDEBUG_BEGIN_TASK_SI, and TDEBUG_END_TASK_SI.

1227  {
1229  if (ex) {
1230  try {
1231  rethrow_exception(ex);
1232  }
1233  catch (cet::exception& e) {
1237  "EventProcessor: an exception occurred during current "
1238  "event processing",
1239  e);
1241  return;
1242  }
1243  mf::LogWarning(e.category())
1244  << "exception being ignored for current event:\n"
1245  << cet::trim_right_copy(e.what(), " \n");
1246  // WARNING: We continue processing after the catch blocks!!!
1247  }
1248  catch (...) {
1249  mf::LogError("PassingThrough")
1250  << "an exception occurred during current event processing";
1253  return;
1254  }
1255  }
1256 
1258 
1260  }
#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)
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
Float_t e
Definition: plot.C:35
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

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

Definition at line 1263 of file EventProcessor.cc.

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

Definition at line 1264 of file EventProcessor.cc.


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