Classes | Public Types | Public Member Functions | Private Member Functions | List of all members
arttest::Throwing Class Reference

Classes

struct  Config
 

Public Types

using Parameters = ServiceTable< Config >
 

Public Member Functions

 Throwing (Parameters const &cfg, ActivityRegistry &ar)
 

Private Member Functions

void throwError (art::Event const &e, ScheduleContext)
 

Detailed Description

Definition at line 15 of file Throwing_service.cc.

Member Typedef Documentation

Definition at line 19 of file Throwing_service.cc.

Constructor & Destructor Documentation

arttest::Throwing::Throwing ( Parameters const &  cfg,
ActivityRegistry ar 
)

Definition at line 27 of file Throwing_service.cc.

28 {
29  r.sPostProcessEvent.watch(this, &Throwing::throwError);
30  mf::LogInfo("testing") << "Throwing service created";
31 }
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
void throwError(art::Event const &e, ScheduleContext)

Member Function Documentation

void arttest::Throwing::throwError ( art::Event const &  e,
ScheduleContext   
)
private

Definition at line 34 of file Throwing_service.cc.

35 {
36  mf::LogInfo("testing") << "Throwing service about to throw";
38  << "Intentional exception from Throwing service";
39 }
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66

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