| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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/IInterface.h"
10 #include "GaudiKernel/GaudiException.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
30 ( const INamedInterface& o ,
31 const GaudiException& e ) const = 0 ;
32 virtual StatusCode handle
34 ( const INamedInterface& o ,
35 const std::exception & e ) const = 0 ;
36 virtual StatusCode handle
38 ( const INamedInterface& o ) const = 0 ;
39 virtual StatusCode handleErr
41 ( const INamedInterface& o ,
42 const StatusCode& s ) const = 0 ;
43 } ;
44 // ============================================================================
45
46 // ============================================================================
47 #endif // GAUDIKERNEL_IEXCEPTIONSVC_H
48 // ============================================================================
49 // The END
50 // ============================================================================
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:23
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:14
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiException.h
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
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:245
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h
IExceptionSvc
The abstract interface for exception handling service.
Definition: IExceptionSvc.h:24