SocketException Class Reference

#include <PracticalSocket.h>

List of all members.

Public Member Functions

 SocketException (const string &message, bool inclSysMsg=false) throw ()
 ~SocketException () throw ()
const char * what () const throw ()

Private Attributes

string userMessage

Constructor & Destructor Documentation

SocketException::SocketException ( const string &  message,
bool  inclSysMsg = false 
) throw ()

Construct a SocketException with a explanatory message.

message explanatory message
incSysMsg true if system message (from strerror(errno)) should be postfixed to the user provided message

SocketException::~SocketException (  )  throw ()

Provided just to guarantee that no exceptions are thrown.

Member Function Documentation

const char * SocketException::what (  )  const throw ()

Get the exception message

exception message

References userMessage.

Member Data Documentation

string SocketException::userMessage [private]

Referenced by what().

The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8