MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / SocketException

Class SocketException

tools/streamer_recorder/include/PracticalSocket.h:34–57  ·  view source on GitHub ↗

* Signals a problem with the execution of a socket call. */

Source from the content-addressed store, hash-verified

32 * Signals a problem with the execution of a socket call.
33 */
34class SocketException : public exception {
35public:
36 /**
37 * Construct a SocketException with a explanatory message.
38 * @param message explanatory message
39 * @param incSysMsg true if system message (from strerror(errno))
40 * should be postfixed to the user provided message
41 */
42 SocketException(const string &message, bool inclSysMsg = false) throw();
43
44 /**
45 * Provided just to guarantee that no exceptions are thrown.
46 */
47 ~SocketException() throw();
48
49 /**
50 * Get the exception message
51 * @return exception message
52 */
53 const char *what() const throw();
54
55private:
56 string userMessage; // Exception message
57};
58
59/**
60 * Base class representing basic communication endpoint

Callers 15

fillAddrFunction · 0.85
SocketMethod · 0.85
getLocalAddressMethod · 0.85
getLocalPortMethod · 0.85
setLocalPortMethod · 0.85
cleanUpMethod · 0.85
connectMethod · 0.85
sendMethod · 0.85
recvMethod · 0.85
getForeignAddressMethod · 0.85
getForeignPortMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected