The Gaudi Framework  v30r3 (a5ef0a68)
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 // ============================================================================
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:
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 // ============================================================================
Define general base for Gaudi exception.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#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
Definition of the basic interface.
Definition: IInterface.h:277
STL class.
IInterface compliant class extending IInterface with the name() method.
string s
Definition: gaudirun.py:253
#define GAUDI_API
Definition: Kernel.h:104
The abstract interface for exception handling service.
Definition: IExceptionSvc.h:24