zorba::DebuggerSocketException

Signals a problem with the execution of a socket call.

Private Attibutes

std::stringuserMessage

Public Functions

DebuggerSocketException( const std::string & message, bool inclSysMsg=false )
Construct a SocketException with a explanatory message.
const const char *what()
Get the exception message.
~DebuggerSocketException()
Provided just to guarantee that no exceptions are thrown.

Private Attibutes

userMessage

std::string userMessage

Public Functions

DebuggerSocketException

 DebuggerSocketException(
    const std::string & message,
    bool inclSysMsg=false
)

Construct a SocketException with a explanatory message.

Parameters

message

explanatory message

inclSysMsg

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

what

const const char * what()

Get the exception message.

Returns

exception message

~DebuggerSocketException

 ~DebuggerSocketException()

Provided just to guarantee that no exceptions are thrown.

blog comments powered by Disqus