00001 /* ${copyright}$ */ 00002 /* $Id: IoException.H 315 2006-02-08 13:38:54Z cesar $ */ 00007 #ifndef __IO_EXCEPTION_H__ 00008 #define __IO_EXCEPTION_H__ 00009 00010 #include "libepp_nicbr.H" 00011 00012 #include "GeneralException.H" 00013 00014 LIBEPP_NICBR_NS_BEGIN 00015 00017 class IoException : public GeneralException 00018 { 00019 public: 00021 enum ExceptionCode { 00022 OPEN_ERR = 4000, 00023 READ_ERR = 4001, 00024 CLOSE_ERR = 4003 00025 }; 00026 00028 00032 IoException(const int code, const string &msg) : 00033 GeneralException(code, msg) {}; 00034 00035 00036 }; 00037 00038 LIBEPP_NICBR_NS_END 00039 #endif //__IO_EXCEPTION_H__