CSL
6.0
|
#include <PracticalSocket.h>
Public Member Functions | |
SocketException (const string &message, bool inclSysMsg=false) throw () | |
~SocketException () throw () | |
const char * | what () const throw () |
Private Attributes | |
string | userMessage |
Definition at line 28 of file PracticalSocket.h.
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 |
Definition at line 48 of file PracticalSocket.cpp.
SocketException::~SocketException | ( | ) | ||
throw | ( | |||
) |
Provided just to guarantee that no exceptions are thrown.
Definition at line 56 of file PracticalSocket.cpp.
const char * SocketException::what | ( | ) | const | |
throw | ( | |||
) |
Get the exception message
Definition at line 59 of file PracticalSocket.cpp.
|
private |
Definition at line 50 of file PracticalSocket.h.