| The Gaudi Framework v30r0 (c919700c)

- 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
40 private:
41 Gaudi::Property<std::vector<int>> m_ignore{this, "IgnoreCodes", {}, "codes to be ignored"};
42 };
43
44 // ============================================================================
45 // The END
46 // ============================================================================
47 #endif // GAUDIGSL_GSLERRORException_H
48 // ============================================================================
GslError
Helper class to represent GSL errors.
Definition: GslError.h:16
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:319
GslErrorException::handle
StatusCode handle(const GslError &error) const override
handle the GSL error
Definition: GslErrorException.cpp:29
AlgTool.h
IGslErrorHandler.h
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:106
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::m_ignore
Gaudi::Property< std::vector< int > > m_ignore
Definition: GslErrorException.h:41