Electric Tiger DAQ  1.0.0
Data Acquisition Software for the Electric Tiger Experiment
daq_failure.h
1 #ifndef DAQ_FAILURE_H
2 #define DAQ_FAILURE_H
3 
4 //C System-Headers
5 //
6 //C++ System headers
7 #include <iostream>
8 #include <exception>
9 #include <stdexcept>
10 #include <sstream>
11 //Qt Headers
12 //
13 //OpenCV Headers
14 //
15 //Boost Headers
16 //
17 //Project specific headers
18 //
19 
20 namespace etig {
21 
22 class daq_failure : public std::exception {
23 
24  public:
25  explicit daq_failure( const char* message ) : err_message( message ){}
26 
27  const char* what() const throw() {
28  return err_message;
29  }
30 
31  private:
32  const char* err_message;
33 };
34 
35 }
36 
37 #endif // DAQ_FAILURE_H
Definition: algorithm.cpp:16
Definition: daq_failure.h:22