CommandFailedException.h

00001 /*-----------------------------------------------------------------------------
00002  * CommandFailedException declaration
00003  * Ionetrics 2006
00004  * John Williams
00005  * CommandFailedException.h
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 /* COMMANDFAILEDEXCEPTION_H */

Generated on Tue Aug 1 11:14:11 2006 for libAnnotatorComm by  doxygen 1.4.7