Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
31  GAUDI_API void ignoreTheError( const char* reason, const char* file, int line, int code );
32 
46  GAUDI_API void handleTheError( const char* reason, const char* file, int line, int code );
47 
62  GAUDI_API void throwException( const char* reason, const char* file, int line, int code );
63 } // namespace GslErrorHandlers
64 
65 // ============================================================================
66 // The END
67 // ============================================================================
68 #endif // GSLERRORHANDLERS_H
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:71
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.