ATLAS Offline Software
Loading...
Searching...
No Matches
AthROOTErrorHandlerSvc Class Reference

#include <AthROOTErrorHandlerSvc.h>

Inheritance diagram for AthROOTErrorHandlerSvc:
Collaboration diagram for AthROOTErrorHandlerSvc:

Public Member Functions

 AthROOTErrorHandlerSvc (const std::string &name, ISvcLocator *svcLoc)
virtual ~AthROOTErrorHandlerSvc ()
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () override
virtual StatusCode finalize ATLAS_NOT_THREAD_SAFE () override
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Private Attributes

Gaudi::Property< int > m_catchLevel
Gaudi::Property< std::map< std::string, int > > m_throwSources

Friends

void Handler::ErrorHandler (Int_t level, Bool_t abort, const char *location, const char *message)

Detailed Description

Definition at line 42 of file AthROOTErrorHandlerSvc.h.

Constructor & Destructor Documentation

◆ AthROOTErrorHandlerSvc()

AthROOTErrorHandlerSvc::AthROOTErrorHandlerSvc ( const std::string & name,
ISvcLocator * svcLoc )

Definition at line 36 of file AthROOTErrorHandlerSvc.cxx.

36 :
37 AthService(name, svcLoc) {
38}

◆ ~AthROOTErrorHandlerSvc()

AthROOTErrorHandlerSvc::~AthROOTErrorHandlerSvc ( )
virtual

Definition at line 40 of file AthROOTErrorHandlerSvc.cxx.

40 {
41}

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE() [1/2]

virtual StatusCode initialize AthROOTErrorHandlerSvc::ATLAS_NOT_THREAD_SAFE ( )
overridevirtual

◆ ATLAS_NOT_THREAD_SAFE() [2/2]

virtual StatusCode finalize AthROOTErrorHandlerSvc::ATLAS_NOT_THREAD_SAFE ( )
overridevirtual

◆ msg()

MsgStream & AthCommonMsg< Service >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Service >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ Handler::ErrorHandler

void Handler::ErrorHandler ( Int_t level,
Bool_t abort,
const char * location,
const char * message )
friend

Member Data Documentation

◆ m_catchLevel

Gaudi::Property<int> AthROOTErrorHandlerSvc::m_catchLevel
private
Initial value:
{
this, "CatchLevel", kFatal+1,
"Throw runtime error for all messages at this level or HIGHER"}

Definition at line 55 of file AthROOTErrorHandlerSvc.h.

55 {
56 this, "CatchLevel", kFatal+1,
57 "Throw runtime error for all messages at this level or HIGHER"};

◆ m_throwSources

Gaudi::Property<std::map<std::string,int> > AthROOTErrorHandlerSvc::m_throwSources
private
Initial value:
{
this, "ThrowSources", {{"TBranch::GetBasket", kError},
{"TFile::ReadBuffer", kError}},
"Map from source to error level. Any message at level or HIGHER will trigger runtime error"}

Definition at line 59 of file AthROOTErrorHandlerSvc.h.

59 {
60 this, "ThrowSources", {{"TBranch::GetBasket", kError},
61 {"TFile::ReadBuffer", kError}},
62 "Map from source to error level. Any message at level or HIGHER will trigger runtime error"};

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