|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
Functions | |
| GAUDI_API void | ignoreTheError (const char *reason, const char *file, int line, int code) |
| The simplest Gsl Error handler, It simply ingnores the error. | |
| 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. | |
| void GslErrorHandlers::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.
Definition at line 32 of file GslErrorHandlers.cpp.
00036 { 00037 // het the GSL service 00038 const IGslSvc* svc = GaudiGSL::gslSvc() ; 00039 // handle the error if service is valid 00040 if( 0 != svc ) { svc->handle( GslError( reason , file , line , code ) ) ; } 00041 }
| void GslErrorHandlers::ignoreTheError | ( | const char * | reason, | |
| const char * | file, | |||
| int | line, | |||
| int | code | |||
| ) |
The simplest Gsl Error handler, It simply ingnores the error.
Definition at line 25 of file GslErrorHandlers.cpp.
| void GslErrorHandlers::throwException | ( | const char * | reason, | |
| const char * | file, | |||
| int | line, | |||
| int | code | |||
| ) |
The simple Gsl Error handler, it throwns the Gaudi Exception.
| GaudiException |
Definition at line 44 of file GslErrorHandlers.cpp.
00048 { 00049 std::string error( " GSL ErrorCode=" ); 00050 static char s_aux[512]; 00051 error += std::string( s_aux , s_aux + sprintf( s_aux , "%d" , code ) ); 00052 error += ": '" ; 00053 error += reason ; 00054 error += "' in the file '" ; 00055 error += file ; 00056 error += "' at the line " ; 00057 error += std::string( s_aux , s_aux + sprintf( s_aux , "%d" , line ) ); 00058 error += "'" ; 00059 throw GaudiException( error , "*GLS Error*" , StatusCode::FAILURE ); 00060 }