Fawkes API  Fawkes Development Version
fawkes::SocketException Class Reference

Socket exception. More...

#include <netcomm/socket/socket.h>

Inheritance diagram for fawkes::SocketException:

List of all members.

Public Member Functions

 SocketException (const char *msg, int _errno)
 Constructor.
 SocketException (const char *msg)
 Constructor.

Detailed Description

Socket exception.

Thrown if an exception occurs in a socket. If the error was caused by a system call that sets errno this is given to the exception.


Constructor & Destructor Documentation

fawkes::SocketException::SocketException ( const char *  msg,
int  _errno 
)

Constructor.

Parameters:
msgreason of the exception
_errnoerror number (errno returned by a syscall)

Definition at line 82 of file socket.cpp.

fawkes::SocketException::SocketException ( const char *  msg)

Constructor.

Parameters:
msgreason that caused the exception.

Definition at line 72 of file socket.cpp.


The documentation for this class was generated from the following files: