00001
00002
00003
00004
00005
00006
00007
00008 #ifndef COMMANDFAILEDEXCEPTION_H
00009 #define COMMANDFAILEDEXCEPTION_H
00010
00011
00012
00013 #include <vector>
00014
00015 #include "AnnotatorCommApi.h"
00016 #include "IOException.h"
00017
00018 using namespace std;
00019
00020
00021
00022 namespace annotatorcomm
00023 {
00024
00029 class ANNCOMM_API CommandFailedException : public IOException
00030 {
00031 public:
00038 CommandFailedException(string message, uint8_t status);
00039
00045 uint8_t getStatus() const;
00046
00047 private:
00051 const uint8_t status;
00052 };
00053
00054 }
00055
00056
00057
00058 #endif