| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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/GslError.h"
10 #include "GaudiGSL/IGslErrorHandler.h"
11 // forward declaration
12
26 class GslErrorException : public extends<AlgTool, IGslErrorHandler>
27 {
28 public:
35 StatusCode handle( const GslError& error ) const override;
36
38 using extends::extends;
39
41 ~GslErrorException() override = default;
42
43 private:
44 Gaudi::Property<std::vector<int>> m_ignore{this, "IgnoreCodes", {}, "codes to be ignored"};
45 };
46
47 // ============================================================================
48 // The END
49 // ============================================================================
50 #endif // GAUDIGSL_GSLERRORException_H
51 // ============================================================================
GslError
Helper class to represent GSL errors.
Definition: GslError.h:15
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:314
GslErrorException::handle
StatusCode handle(const GslError &error) const override
handle the GSL error
Definition: GslErrorException.cpp:30
AlgTool.h
IGslErrorHandler.h
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:117
GslError.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
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
GslErrorException::~GslErrorException
~GslErrorException() override=default
destructor (protected and virtual)
GslErrorException::m_ignore
Gaudi::Property< std::vector< int > > m_ignore
Definition: GslErrorException.h:44