Gaudi Framework, version v25r2
Home
Generated: Wed Jun 4 2014
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
.cern.ch
sw
Gaudi
releases
GAUDI
GAUDI_v25r2
GaudiGSL
src
Components
GslErrorPrint.cpp
Go to the documentation of this file.
1
// $Id: GslErrorPrint.cpp,v 1.2 2006/01/10 20:00:05 hmd Exp $
2
// ============================================================================
3
// Include files
4
// from Gaudi
5
#include "
GaudiKernel/ToolFactory.h
"
6
#include "
GaudiKernel/MsgStream.h
"
7
#include "
GaudiKernel/IChronoStatSvc.h
"
8
#include "
GaudiKernel/Stat.h
"
9
// local
10
#include "
GslErrorPrint.h
"
11
12
// ============================================================================
20
// ============================================================================
21
22
// ============================================================================
28
// ============================================================================
29
DECLARE_COMPONENT
(
GslErrorPrint
)
30
// ============================================================================
31
32
// ============================================================================
38
// ============================================================================
39
GslErrorPrint
::
GslErrorPrint
40
( const
std
::
string
&
type
,
41
const
std
::
string
& name ,
42
const
IInterface
* parent )
43
:
base_class
( type, name , parent )
44
{}
45
// ============================================================================
46
47
// ============================================================================
49
// ============================================================================
50
GslErrorPrint::~GslErrorPrint
(){}
51
// ============================================================================
52
53
// ============================================================================
60
// ============================================================================
61
StatusCode
GslErrorPrint::handle
62
(
const
GslError
& error )
const
63
{
64
MsgStream
log
( msgSvc() , name() );
65
log <<
MSG::ERROR
66
<<
" GSL code "
<< error.
code
67
<<
" Message '"
<< error.
reason
<<
"'"
68
<<
" File '"
<< error.
file
<<
"'"
69
<<
" Line "
<< error.
line
<<
endmsg
;
70
//
71
return
StatusCode::SUCCESS
;
72
}
73
// ============================================================================
74
75
76
// ============================================================================
77
// The END
78
// ============================================================================
Generated at Wed Jun 4 2014 14:48:56 for Gaudi Framework, version v25r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004