| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

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:
[legend]
Collaboration diagram for GslErrorPrint:
[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:

  type | tool type (?)
  name | tool name
  parent | pointer to parent

See also:
  ToolFactory
  IToolFactory
  IFactory Standard constructor

Parameters:

  type | tool type (?)
  name | tool name
  parent | pointer 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:

  error | error 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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiGSL/src/Components/GslErrorPrint.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiGSL/src/Components/GslErrorPrint.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines