Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
br::pucrio::telemidia::ginga::core::system::compat::SocketException Class Reference

#include <PracticalSocket.h>

Inheritance diagram for br::pucrio::telemidia::ginga::core::system::compat::SocketException:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::system::compat::SocketException:
Collaboration graph
[legend]

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

br::pucrio::telemidia::ginga::core::system::compat::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
br::pucrio::telemidia::ginga::core::system::compat::SocketException::~SocketException ( )
throw (
)

Provided just to guarantee that no exceptions are thrown.

Member Function Documentation

const char * br::pucrio::telemidia::ginga::core::system::compat::SocketException::what ( ) const
throw (
)

Get the exception message

Returns
exception message

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