All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GslErrorException.h
Go to the documentation of this file.
1 // $Id: GslErrorException.h,v 1.2 2006/11/30 10:40:53 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIGSL_GSLERRORException_H
4 #define GAUDIGSL_GSLERRORException_H 1
5 // Include files
6 // from STL
7 #include <string>
8 // from GaudiKernel
9 #include "GaudiKernel/AlgTool.h"
10 // from GaudiGSL
12 #include "GaudiGSL/GslError.h"
13 // forward declaration
14 
28 class GslErrorException: public extends1<AlgTool, IGslErrorHandler> {
29 public:
30 
37  virtual StatusCode handle
38  ( const GslError& error ) const ;
39 
46  ( const std::string& type ,
47  const std::string& name ,
48  const IInterface* parent );
49 
51  virtual ~GslErrorException( );
52 
53 private:
54 
56  std::vector<int> m_ignore ;
57 
58 };
59 
60 // ============================================================================
61 // The END
62 // ============================================================================
63 #endif // GAUDIGSL_GSLERRORException_H
64 // ============================================================================
std::vector< int > m_ignore
codes to be ignored:
Helper class to represent GSL errors.
Definition: GslError.h:17
virtual const std::string & type() const
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:58
virtual StatusCode handle(const GslError &error) const
handle the GSL error
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
GslErrorException(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual ~GslErrorException()
destructor (protected and virtual)
Concrete GSL eror handler It is just thrown the exception.
virtual const IInterface * parent() const
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:65
virtual const std::string & name() const
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:51