| The Gaudi Framework v32r1 (f65d50dc)

IExceptionSvc.h
Go to the documentation of this file.
1 // ============================================================================
2 #ifndef GAUDIKERNEL_IEXCEPTIONSVC_H
3 #define GAUDIKERNEL_IEXCEPTIONSVC_H
4 // ============================================================================
5 // Include files
6 // ============================================================================
7 // GaudiKernel
8 // ============================================================================
9 #include "GaudiKernel/GaudiException.h"
10 #include "GaudiKernel/IInterface.h"
11 // ============================================================================
12 // Forward declarations
13 // ============================================================================
14 class INamedInterface;
15 // ============================================================================
23 // ============================================================================
24 class GAUDI_API IExceptionSvc : virtual public IInterface {
25 public:
27 DeclareInterfaceID( IExceptionSvc, 3, 0 );
29 virtual StatusCode handle( const INamedInterface& o,
30 const GaudiException& e ) const = 0;
31 virtual StatusCode handle( const INamedInterface& o,
33 const std::exception& e ) const = 0;
34 virtual StatusCode handle( const INamedInterface& o ) const = 0;
36 virtual StatusCode handleErr( const INamedInterface& o, const StatusCode& s ) const = 0;
38 };
39 // ============================================================================
40
41 // ============================================================================
42 #endif // GAUDIKERNEL_IEXCEPTIONSVC_H
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:21
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
GaudiException.h
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
std::exception
STL class.
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
gaudirun.s
string s
Definition: gaudirun.py:316
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h
IExceptionSvc
The abstract interface for exception handling service.
Definition: IExceptionSvc.h:24