![]() |
|
|
Generated: 8 Jan 2009 |
#include <GslErrorPrint.h>


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 | |||
| ) |
Standard constructor.
| type | tool type (?) | |
| name | tool name | |
| parent | pointer to parent |
Definition at line 41 of file GslErrorPrint.cpp.
| GslErrorPrint::~GslErrorPrint | ( | ) | [virtual] |
destructor (protected and virtual)
destructor (protetced and virtual)
Definition at line 51 of file GslErrorPrint.cpp.
| 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.
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 };