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/IGslErrorHandler.h"
10 #include "GaudiGSL/GslError.h"
11 // forward declaration
12 
26 class GslErrorException: public extends1<AlgTool, IGslErrorHandler> {
27 public:
28 
35  StatusCode handle( const GslError& error ) const override;
36 
43  ( const std::string& type ,
44  const std::string& name ,
45  const IInterface* parent );
46 
48  ~GslErrorException( ) override = default;
49 
50 private:
51 
53  std::vector<int> m_ignore ;
54 
55 };
56 
57 // ============================================================================
58 // The END
59 // ============================================================================
60 #endif // GAUDIGSL_GSLERRORException_H
61 // ============================================================================
std::vector< int > m_ignore
codes to be ignored:
Helper class to represent GSL errors.
Definition: GslError.h:15
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
GslErrorException(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
StatusCode handle(const GslError &error) const override
handle the GSL error
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
Concrete GSL eror handler It is just thrown the exception.
~GslErrorException() override=default
destructor (protected and virtual)
string type
Definition: gaudirun.py:151