GslErrorHandlers.h
Go to the documentation of this file.
1 // ============================================================================
2 #ifndef GAUDIGSL_GSLERRORHANDLERS_H
3 #define GAUDIGSL_GSLERRORHANDLERS_H 1
4 
5 #include "GaudiKernel/Kernel.h"
6 
16 namespace GslErrorHandlers
17 {
18 
33  ( const char* reason ,
34  const char* file ,
35  int line ,
36  int code );
37 
52  ( const char* reason ,
53  const char* file ,
54  int line ,
55  int code );
56 
72  ( const char* reason ,
73  const char* file ,
74  int line ,
75  int code );
76 
77 }
78 
79 // ============================================================================
80 // The END
81 // ============================================================================
82 #endif // GSLERRORHANDLERS_H
83 // ============================================================================
GAUDI_API void handleTheError(const char *reason, const char *file, int line, int code)
The simplest Gsl Error handler, It delegates the actual error handling to GSL Service.
GAUDI_API void throwException(const char *reason, const char *file, int line, int code)
The simple Gsl Error handler, it throwns the Gaudi Exception.
#define GAUDI_API
Definition: Kernel.h:107
GAUDI_API void ignoreTheError(const char *reason, const char *file, int line, int code)
The simplest Gsl Error handler, It simply ingnores the error.
The collection of Error Handlers for GSL.