All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IExceptionSvc.h
Go to the documentation of this file.
1 // $Id: IExceptionSvc.h,v 1.3 2007/05/24 14:39:11 hmd Exp $
2 // ============================================================================
3 // CVS tag $Name: $, version $Revision: 1.3 $
4 // ============================================================================
5 #ifndef GAUDIKERNEL_IEXCEPTIONSVC_H
6 #define GAUDIKERNEL_IEXCEPTIONSVC_H
7 // ============================================================================
8 // Include files
9 // ============================================================================
10 // GaudiKernel
11 // ============================================================================
12 #include "GaudiKernel/IInterface.h"
14 // ============================================================================
15 // Forward declarations
16 // ============================================================================
17 class INamedInterface;
18 // ============================================================================
26 // ============================================================================
27 class GAUDI_API IExceptionSvc: virtual public IInterface {
28 public:
32  virtual StatusCode handle
33  ( const INamedInterface& o ,
34  const GaudiException& e ) const = 0 ;
35  virtual StatusCode handle
37  ( const INamedInterface& o ,
38  const std::exception & e ) const = 0 ;
39  virtual StatusCode handle
41  ( const INamedInterface& o ) const = 0 ;
42  virtual StatusCode handleErr
44  ( const INamedInterface& o ,
45  const StatusCode& s ) const = 0 ;
46 protected :
47  // virtual and protected destructor
48  virtual ~IExceptionSvc() ;
49 } ;
50 // ============================================================================
51 
52 
53 // ============================================================================
54 #endif // GAUDIKERNEL_IEXCEPTIONSVC_H
55 // ============================================================================
56 // The END
57 // ============================================================================
Define general base for Gaudi exception.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
IInterface compliant class extending IInterface with the name() method.
string s
Definition: gaudirun.py:210
#define GAUDI_API
Definition: Kernel.h:108
The abstract interface for exception handling service.
Definition: IExceptionSvc.h:27