Midge  v3.9.2
Data Processing Framework
midge_error.hh
Go to the documentation of this file.
1 #ifndef _midge_error_hh_
2 #define _midge_error_hh_
3 
4 #include "base_exception.hh"
5 
6 namespace midge
7 {
8 
9  class error : public scarab::base_exception< error >
10  {
11  public:
12  error();
13  error( const error& p_copy );
14  error& operator=( const error& p_copy );
15  virtual ~error() noexcept;
16  };
17 
18  // midge should exit and not be restarted
19  class node_fatal_error : public scarab::base_exception< error >
20  {
21  public:
23  node_fatal_error( const node_fatal_error& p_copy );
25  virtual ~node_fatal_error() noexcept;
26  };
27 
28  // midge should exit but could be restarted
29  class node_nonfatal_error : public scarab::base_exception< error >
30  {
31  public:
35  virtual ~node_nonfatal_error() noexcept;
36  };
37 
38 }
39 
40 #endif
Definition: _buffer.hh:11
error & operator=(const error &p_copy)
Definition: midge_error.cc:18
virtual ~error() noexcept
Definition: midge_error.cc:24