#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 |
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.
const char * SocketException::what | ( | ) | const throw () |
Get the exception message
string SocketException::userMessage [private] |