Open Ephys GUI
 All Classes Functions Variables
Public Member Functions
SocketException Class Reference

#include <PracticalSocket.h>

List of all members.

Public Member Functions

 SocketException (const string &message, bool inclSysMsg=false) throw ()
 ~SocketException () throw ()
const char * what () const throw ()

Detailed Description

Signals a problem with the execution of a socket call.


Constructor & Destructor Documentation

SocketException::SocketException ( const string &  message,
bool  inclSysMsg = false 
) throw ()

Construct a SocketException with a explanatory message.

Parameters:
messageexplanatory message
incSysMsgtrue if system message (from strerror(errno)) should be postfixed to the user provided message
SocketException::~SocketException ( ) throw ()

Provided just to guarantee that no exceptions are thrown.


Member Function Documentation

const char* SocketException::what ( ) const throw ()

Get the exception message

Returns:
exception message

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