| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

GslErrorException.h
Go to the documentation of this file.
1 #ifndef GAUDIGSL_GSLERRORException_H
2 #define GAUDIGSL_GSLERRORException_H 1
3 // Include files
4 // from STL
5 #include <string>
6 // from GaudiKernel
7 #include "GaudiKernel/AlgTool.h"
8 // from GaudiGSL
9 #include "GaudiGSL/IGslErrorHandler.h"
10 #include "GaudiGSL/GslError.h"
11 // forward declaration
12
26 class GslErrorException: public extends<AlgTool,
27 IGslErrorHandler> {
28 public:
29
36 StatusCode handle( const GslError& error ) const override;
37
43 GslErrorException
44 ( const std::string& type ,
45 const std::string& name ,
46 const IInterface* parent );
47
49 ~GslErrorException( ) override = default;
50
51 private:
52
54 std::vector<int> m_ignore ;
55
56 };
57
58 // ============================================================================
59 // The END
60 // ============================================================================
61 #endif // GAUDIGSL_GSLERRORException_H
62 // ============================================================================
GslErrorException::m_ignore
std::vector< int > m_ignore
codes to be ignored:
Definition: GslErrorException.h:54
GslError
Helper class to represent GSL errors.
Definition: GslError.h:15
AlgTool.h
IGslErrorHandler.h
std::string
STL class.
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:118
GslError.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
GslErrorException::GslErrorException
GslErrorException(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: GslErrorException.cpp:29
GslErrorException::handle
StatusCode handle(const GslError &error) const override
handle the GSL error
Definition: GslErrorException.cpp:49
std::vector< int >
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
GslErrorException
Concrete GSL eror handler It is just thrown the exception.
Definition: GslErrorException.h:26
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:72
GslErrorException::~GslErrorException
~GslErrorException() override=default
destructor (protected and virtual)
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:65
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:79