|
Gaudi Framework, version v21r9 |
| Home | Generated: 3 May 2010 |
#include <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) | |
Definition at line 24 of file GslErrorPrint.h.
| GslErrorPrint::GslErrorPrint | ( | const std::string & | type, | |
| const std::string & | name, | |||
| const IInterface * | parent | |||
| ) |
Standard constructor.
Declaration of the Tool Factory.
| type | tool type (?) | |
| name | tool name | |
| parent | pointer to parent |
IToolFactory
IFactory Standard constructor
| type | tool type (?) | |
| name | tool name | |
| parent | pointer to parent |
Definition at line 40 of file GslErrorPrint.cpp.
00043 : base_class ( type, name , parent ) 00044 {}
| GslErrorPrint::~GslErrorPrint | ( | ) | [virtual] |
destructor (protected and virtual)
destructor (protetced and virtual)
Definition at line 50 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 62 of file GslErrorPrint.cpp.
00063 { 00064 MsgStream log( msgSvc() , name() ); 00065 log << MSG::ERROR 00066 << " GSL code " << error.code 00067 << " Message '" << error.reason << "'" 00068 << " File '" << error.file << "'" 00069 << " Line " << error.line << endmsg ; 00070 // 00071 return StatusCode::SUCCESS ; 00072 }