The Gaudi Framework  v29r0 (ff2e7097)
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 
32  GAUDI_API void ignoreTheError( const char* reason, const char* file, int line, int code );
33 
47  GAUDI_API void handleTheError( const char* reason, const char* file, int line, int code );
48 
63  GAUDI_API void throwException( const char* reason, const char* file, int line, int code );
64 }
65 
66 // ============================================================================
67 // The END
68 // ============================================================================
69 #endif // GSLERRORHANDLERS_H
70 // ============================================================================
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:110
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.