QuadroCopter  0.1.4
i2cRuntimeException.h
Go to the documentation of this file.
1 //
2 // Created by Michael Brookes on 26/03/2017.
3 //
4 
5 #ifndef QUADRO_ANALOGRUNTIMEEXCEPTION_H
6 #define QUADRO_ANALOGRUNTIMEEXCEPTION_H
7 
8 #include "../../exceptions/runtimeException.h"
9 
10 namespace quadro {
11 
12  namespace i2c {
13 
14  using namespace std;
15 
16  const string THREAD_CANCELLATION_FAILURE = "Unable to cancel thread : Unable to locate process.";
17  const string THREAD_CANCELLATION_UNKNOWN = "Unable to cancel thread : Unknown error, not a known error code.";
21  class i2cRuntimeException : public runtimeException {
22  public:
27  i2cRuntimeException( string _errMsg ) { }
28  };
29 
30  }
31 }
32 
33 #endif //QUADRO_ANALOGRUNTIMEEXCEPTION_H
i2cRuntimeException(string _errMsg)
Definition: i2cRuntimeException.h:27
const string THREAD_CANCELLATION_UNKNOWN
Definition: i2cRuntimeException.h:17
Definition: aeronautics.h:23
const string THREAD_CANCELLATION_FAILURE
Definition: i2cRuntimeException.h:16
Definition: i2cRuntimeException.h:21