![]() |
The Gaudi Framework
v27r0
|
Simple implementation of IExceptionSvc abstract interface. More...
#include <src/ExceptionSvc.h>
Public Member Functions | |
StatusCode | handle (const INamedInterface &o, const GaudiException &e) const override |
Handle caught GaudiExceptions. More... | |
StatusCode | handle (const INamedInterface &o, const std::exception &e) const override |
Handle caught std::exceptions. More... | |
StatusCode | handle (const INamedInterface &o) const override |
Handle caught (unknown)exceptions. More... | |
StatusCode | handleErr (const INamedInterface &o, const StatusCode &s) const override |
Handle errors. More... | |
StatusCode | initialize () override |
initialize the service More... | |
ExceptionSvc (const std::string &name, ISvcLocator *svc) | |
standard constructor More... | |
~ExceptionSvc () override=default | |
Destructor. More... | |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Private Types | |
enum | Policy { ALL, NONE } |
enum | ReturnState { SUCCESS, FAILURE, RECOVERABLE, RETHROW, DEFAULT } |
Private Member Functions | |
ExceptionSvc ()=delete | |
no default constructor More... | |
ExceptionSvc (const ExceptionSvc &)=delete | |
ExceptionSvc & | operator= (const ExceptionSvc &)=delete |
virtual StatusCode | process (const INamedInterface &o) const |
Private Attributes | |
Policy | m_mode_exc = ALL |
Policy | m_mode_err = NONE |
StringProperty | m_mode_exc_s |
StringProperty | m_mode_err_s |
std::map< std::string, ReturnState > | m_retCodesExc |
std::map< std::string, ReturnState > | m_retCodesErr |
MsgStream | m_log |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
Simple implementation of IExceptionSvc abstract interface.
Definition at line 19 of file ExceptionSvc.h.
|
private |
Enumerator | |
---|---|
ALL | |
NONE |
Definition at line 60 of file ExceptionSvc.h.
|
private |
Enumerator | |
---|---|
SUCCESS | |
FAILURE | |
RECOVERABLE | |
RETHROW | |
DEFAULT |
Definition at line 61 of file ExceptionSvc.h.
ExceptionSvc::ExceptionSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
standard constructor
name | service instance name |
pSvc | pointer to Service Locator |
Definition at line 36 of file ExceptionSvc.cpp.
|
overridedefault |
Destructor.
|
privatedelete |
no default constructor
|
privatedelete |
|
override |
Handle caught GaudiExceptions.
Handle caught exceptions
Definition at line 230 of file ExceptionSvc.cpp.
|
override |
Handle caught std::exceptions.
Handle caught exceptions
Definition at line 220 of file ExceptionSvc.cpp.
|
override |
Handle caught (unknown)exceptions.
Handle caught exceptions
Definition at line 211 of file ExceptionSvc.cpp.
|
override |
Handle errors.
Handle errors
Definition at line 159 of file ExceptionSvc.cpp.
|
override |
initialize the service
Definition at line 50 of file ExceptionSvc.cpp.
|
privatedelete |
|
privatevirtual |
Definition at line 188 of file ExceptionSvc.cpp.
|
mutableprivate |
Definition at line 67 of file ExceptionSvc.h.
Definition at line 63 of file ExceptionSvc.h.
|
private |
Definition at line 64 of file ExceptionSvc.h.
Definition at line 63 of file ExceptionSvc.h.
|
private |
Definition at line 64 of file ExceptionSvc.h.
|
private |
Definition at line 65 of file ExceptionSvc.h.
|
private |
Definition at line 65 of file ExceptionSvc.h.