00001 /////////////////////////////////////////////////////////////////////////////////////////////// 00002 /*! \file SocketException.h 00003 * \brief Socket exception class. 00004 * 00005 * The socket communications classes are based on the tutorial entitled 00006 * "Linux Socket Programming In C++" by Rob Tougher on the Linux Gazette 00007 * website. ( http://linuxgazette.net/issue74/tougher.html ) 00008 * 00009 * \author Scott A. Kowalchuk 00010 * \date 2006/11/29 00011 *///////////////////////////////////////////////////////////////////////////////////////////// 00012 /* 00013 * \Status 00014 * 00015 * 00016 */ 00017 ///////////////////////////////////////////////////////////////////////////////////////////// 00018 00019 00020 #ifndef __SocketException_H__ 00021 #define __SocketException_H__ 00022 00023 #include <string> 00024 00025 class SocketException{ 00026 public: 00027 SocketException ( std::string s ) : m_s ( s ) {}; 00028 ~SocketException (){}; 00029 00030 std::string description() { return m_s; } 00031 00032 private: 00033 00034 std::string m_s; 00035 00036 }; 00037 00038 #endif 00039 00040