QuadroCopter  0.1.4
analogSetupException.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2017 Michael Brookes
3 
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
18 #ifndef QUADRO_ANALOGSETUPEXCEPTION_H
19 #define QUADRO_ANALOGSETUPEXCEPTION_H
20 
21 #include "../../exceptions/setupException.h"
22 
23 using namespace quadro::exceptions;
24 
25 namespace quadro {
26 
27  namespace analog {
28 
29  using namespace std;
30 
31  const string STARTUP_FAILURE = "Unable to start the analog device.";
32  const string THREAD_UNKNOWN = "Unable to create thread : Unknown Error Occurred.";
33  const string THREAD_FATAL = "Unable to create thread : Fatal Error Occurred.";
34  const string THREAD_PERMISSIONS = "Unable to create thread : Operation not permitted.";
35  const string THREAD_INVALID_ARG = "Unable to create thread : Invalid Argument.";
36 
41  public:
46  analogSetupException( string _errMsg ) { }
47  };
48 
49  }
50 }
51 
52 #endif //QUADRO_ANALOGSETUPEXCEPTION_H
Definition: fatalException.h:27
Definition: setupException.h:34
Definition: analogSetupException.h:40
const string THREAD_INVALID_ARG
Definition: analogSetupException.h:35
Definition: aeronautics.h:23
const string THREAD_FATAL
Definition: analogSetupException.h:33
analogSetupException(string _errMsg)
Definition: analogSetupException.h:46
const string STARTUP_FAILURE
Definition: analogSetupException.h:31
const string THREAD_PERMISSIONS
Definition: analogSetupException.h:34
const string THREAD_UNKNOWN
Definition: analogSetupException.h:32