| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
26 public:
28 DeclareInterfaceID( IExceptionSvc, 3, 0 );
30 virtual StatusCode handle( const INamedInterface& o,
31 const GaudiException& e ) const = 0;
32 virtual StatusCode handle( const INamedInterface& o,
34 const std::exception& e ) const = 0;
35 virtual StatusCode handle( const INamedInterface& o ) const = 0;
37 virtual StatusCode handleErr( const INamedInterface& o, const StatusCode& s ) const = 0;
39 };
40 // ============================================================================
41
42 // ============================================================================
43 #endif // GAUDIKERNEL_IEXCEPTIONSVC_H
44 // ============================================================================
45 // The END
46 // ============================================================================
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:22
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
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
GaudiException.h
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
std::exception
STL class.
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
gaudirun.s
string s
Definition: gaudirun.py:253
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h
IExceptionSvc
The abstract interface for exception handling service.
Definition: IExceptionSvc.h:24