00001 /*----------------------------------------------------------------------------- 00002 * IOException declaration 00003 * Ionetrics 2006 00004 * John Williams 00005 * IOException.h 00006 *---------------------------------------------------------------------------*/ 00007 00008 #ifndef IOEXCEPTION_H 00009 #define IOEXCEPTION_H 00010 00011 //----------------------------------------------------------------------------- 00012 00013 #include <stdexcept> 00014 #include <string> 00015 00016 #include "AnnotatorCommApi.h" 00017 00018 using namespace std; 00019 00020 //----------------------------------------------------------------------------- 00021 00022 namespace annotatorcomm 00023 { 00024 00028 class ANNCOMM_API IOException : public runtime_error 00029 { 00030 public: 00036 IOException(const string & msg); 00037 }; 00038 00039 } 00040 00041 //----------------------------------------------------------------------------- 00042 00043 #endif /* IOEXCEPTION_H */