![]() |
|
|
Generated: 18 Jul 2008 |
#include <GslErrorPrint.h>
Inheritance diagram for GslErrorPrint:


Definition at line 24 of file GslErrorPrint.h.
Public Member Functions | |
| virtual StatusCode | handle (const GslError &error) const |
| handle the GSL error | |
| GslErrorPrint (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard constructor. | |
| virtual | ~GslErrorPrint () |
| destructor (protected and virtual) | |
| GslErrorPrint::GslErrorPrint | ( | const std::string & | type, | |
| const std::string & | name, | |||
| const IInterface * | parent | |||
| ) |
| GslErrorPrint::~GslErrorPrint | ( | ) | [virtual] |
| StatusCode GslErrorPrint::handle | ( | const GslError & | error | ) | const [virtual] |
handle the GSL error
| error | error to be handled |
Implements IGslErrorHandler.
Definition at line 63 of file GslErrorPrint.cpp.
References GslError::code, endreq(), MSG::ERROR, GslError::file, GslError::line, name, GslError::reason, and StatusCode::SUCCESS.
00064 { 00065 MsgStream log( msgSvc() , name() ); 00066 log << MSG::ERROR 00067 << " GSL code " << error.code 00068 << " Message '" << error.reason << "'" 00069 << " File '" << error.file << "'" 00070 << " Line " << error.line << endreq ; 00071 // 00072 return StatusCode::SUCCESS ; 00073 };