The Gaudi Framework
v25r5
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
GslErrorException.h
Go to the documentation of this file.
1
// $Id: GslErrorException.h,v 1.2 2006/11/30 10:40:53 mato Exp $
2
// ============================================================================
3
#ifndef GAUDIGSL_GSLERRORException_H
4
#define GAUDIGSL_GSLERRORException_H 1
5
// Include files
6
// from STL
7
#include <string>
8
// from GaudiKernel
9
#include "
GaudiKernel/AlgTool.h
"
10
// from GaudiGSL
11
#include "
GaudiGSL/IGslErrorHandler.h
"
12
#include "
GaudiGSL/GslError.h
"
13
// forward declaration
14
28
class
GslErrorException
:
public
extends1
<AlgTool, IGslErrorHandler> {
29
public
:
30
37
virtual
StatusCode
handle
38
(
const
GslError
& error )
const
;
39
45
GslErrorException
46
(
const
std::string&
type
,
47
const
std::string&
name
,
48
const
IInterface
*
parent
);
49
51
virtual
~GslErrorException
( );
52
53
private
:
54
56
std::vector<int>
m_ignore
;
57
58
};
59
60
// ============================================================================
61
// The END
62
// ============================================================================
63
#endif // GAUDIGSL_GSLERRORException_H
64
// ============================================================================
GslErrorException::m_ignore
std::vector< int > m_ignore
codes to be ignored:
Definition:
GslErrorException.h:56
GslError
Helper class to represent GSL errors.
Definition:
GslError.h:17
AlgTool::type
virtual const std::string & type() const
Retrieve type (concrete class) of the sub-algtool.
Definition:
AlgTool.cpp:58
AlgTool.h
IGslErrorHandler.h
GslError.h
GslErrorException::handle
virtual StatusCode handle(const GslError &error) const
handle the GSL error
Definition:
GslErrorException.cpp:58
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:30
IInterface
Definition of the basic interface.
Definition:
IInterface.h:160
extends1
Base class used to extend a class implementing other interfaces.
Definition:
extends.h:10
GslErrorException::GslErrorException
GslErrorException(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition:
GslErrorException.cpp:33
GslErrorException::~GslErrorException
virtual ~GslErrorException()
destructor (protected and virtual)
Definition:
GslErrorException.cpp:46
GslErrorException
Concrete GSL eror handler It is just thrown the exception.
Definition:
GslErrorException.h:28
AlgTool::parent
virtual const IInterface * parent() const
Retrieve parent of the sub-algtool.
Definition:
AlgTool.cpp:65
AlgTool::name
virtual const std::string & name() const
Retrieve full identifying name of the concrete tool object.
Definition:
AlgTool.cpp:51
GaudiGSL
src
Components
GslErrorException.h
Generated on Tue Oct 21 2014 11:36:21 for The Gaudi Framework by
1.8.7