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 ()
 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.

Parameters:
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.

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

Construct a SocketException with a explanatory message.

Parameters:
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

Returns:
exception message

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

Get the exception message

Returns:
exception message


Member Data Documentation

string SocketException::userMessage [private]
 


The documentation for this class was generated from the following files:
Generated on Sat Oct 17 14:12:34 2009 for CSL by  doxygen 1.4.5-20051010