00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef _AGFIOERROR_H_
00010 #define _AGFIOERROR_H_
00011 
00012 #include <iostream>
00013 #include <string>
00014 #include <exception>
00015 
00016 #ifdef _MSC_VER
00017 #define DllExport __declspec( dllexport )
00018 #else
00019 #define DllExport
00020 #endif
00021 
00022 using namespace std;
00023 
00025 
00030 class DllExport agfioError : public exception
00031 {
00032 private:
00033   string msg;
00034 
00035 public:
00040   agfioError(const string& s);
00041 
00042   ~agfioError() throw() {}
00043 
00048   virtual const char*
00049   what() const throw();
00050 };
00051 
00052 #endif