Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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"
11 // forward declaration
12 
26 class GslErrorException : public extends<AlgTool, IGslErrorHandler> {
27 public:
34  StatusCode handle( const GslError& error ) const override;
35 
37  using extends::extends;
38 
39 private:
40  Gaudi::Property<std::vector<int>> m_ignore{this, "IgnoreCodes", {}, "codes to be ignored"};
41 };
42 
43 // ============================================================================
44 // The END
45 // ============================================================================
46 #endif // GAUDIGSL_GSLERRORException_H
Helper class to represent GSL errors.
Definition: GslError.h:16
Implementation of property with value of concrete type.
Definition: Property.h:352
StatusCode handle(const GslError &error) const override
handle the GSL error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
Concrete GSL eror handler It is just thrown the exception.
Gaudi::Property< std::vector< int > > m_ignore