00001 #ifdef __GNUG__ 00002 #pragma interface 00003 #endif 00004 00005 #ifndef _except_h 00006 #define _except_h 00007 00008 #include <stdexcept> 00009 00010 class errno_exception: public std::exception { 00011 std::string what_; 00012 public: 00013 ~errno_exception() throw(); 00014 errno_exception(const std::string &wh); 00015 const char *what() const throw (); 00016 }; 00017 00018 #endif