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


Detailed Description

Signals a problem with the execution of a socket call.


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.


Member Function Documentation

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 Tue Nov 27 14:11:51 2007 for anytun by  doxygen 1.5.1