zorba::DebuggerSocketException

#include <zorba/debugger_exception.h>

Signals a problem with the execution of a socket call.

Private Attributes

std::string

userMessage

Public Functions

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

Construct a SocketException with a explanatory message.

const char *

what() const

Get the exception message.

~DebuggerSocketException()

Provided just to guarantee that no exceptions are thrown.

Private Attributes

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 char * what() const

Get the exception message.

Returns

exception message

~DebuggerSocketException

 ~DebuggerSocketException()

Provided just to guarantee that no exceptions are thrown.