Gaudi Framework, version v22r4

Home   Generated: Fri Sep 2 2011
Public Member Functions

GslErrorPrint Class Reference

Concrete GSL eror handler It is just prints the GSL errors. More...

#include <GslErrorPrint.h>

Inheritance diagram for GslErrorPrint:
Inheritance graph
[legend]
Collaboration diagram for GslErrorPrint:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Concrete GSL eror handler It is just prints the GSL errors.

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru
Date:
30/04/2002

Definition at line 24 of file GslErrorPrint.h.


Constructor & Destructor Documentation

GslErrorPrint::GslErrorPrint ( const std::string type,
const std::string name,
const IInterface parent 
)

Standard constructor.

Declaration of the Tool Factory.

Parameters:
typetool type (?)
nametool name
parentpointer to parent
See also:
ToolFactory
IToolFactory
IFactory Standard constructor
Parameters:
typetool type (?)
nametool name
parentpointer to parent

Definition at line 40 of file GslErrorPrint.cpp.

  : base_class ( type, name , parent )
{}
GslErrorPrint::~GslErrorPrint (  ) [virtual]

destructor (protected and virtual)

destructor (protetced and virtual)

Definition at line 50 of file GslErrorPrint.cpp.

{}

Member Function Documentation

StatusCode GslErrorPrint::handle ( const GslError error ) const [virtual]

handle the GSL error

See also:
IGslErrorHandler
Parameters:
errorerror to be handled
See also:
GslError
Returns:
status code

Implements IGslErrorHandler.

Definition at line 62 of file GslErrorPrint.cpp.

{
  MsgStream log( msgSvc() , name() );
  log << MSG::ERROR
      << " GSL code " << error.code
      << " Message '" << error.reason << "'"
      << " File '"    << error.file   << "'"
      << " Line "     << error.line   << endmsg ;
  //
  return StatusCode::SUCCESS ;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Fri Sep 2 2011 16:25:25 for Gaudi Framework, version v22r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004