00001 // SocketException class 00002 00003 00004 #ifndef SocketException_class 00005 #define SocketException_class 00006 00007 #include <string> 00008 00009 class SocketException 00010 { 00011 public: 00012 SocketException ( std::string s ) : m_s ( s ) {}; 00013 ~SocketException (){}; 00014 00015 std::string description() { return m_s; } 00016 00017 private: 00018 00019 std::string m_s; 00020 00021 }; 00022 00023 #endif 00024