SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <UDPSocket.h>
Inherits exception.
Public Member Functions | |
CSocketException (const string &message, bool bSysMsg=false) throw () | |
virtual | ~CSocketException () throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
std::string | m_sMsg |
Signals a problem with the execution of a socket call.
Definition at line 43 of file UDPSocket.h.
CSocketException::CSocketException | ( | const string & | message, |
bool | bSysMsg = false |
||
) | |||
throw | ( | ||
) |
Construct a SocketException with a explanatory message.
message | explanatory message |
bSysMsg | true if system message (from strerror(errno)) should be postfixed to the user provided message |
Definition at line 34 of file UDPSocket.cpp.
|
virtual |
Destructor. Virtual to allow for subclassing.
Definition at line 42 of file UDPSocket.cpp.
|
inlinevirtual |
Returns a pointer to the (constant) error description.
const
char*
. The underlying memory is in possession of the Exception
object. Callers must not attempt to free the memory. Definition at line 65 of file UDPSocket.h.
|
protected |
Error message.
Definition at line 70 of file UDPSocket.h.