Fastcgipp::Exceptions::Socket Class Reference

General exception for socket related errors. More...

#include <exceptions.hpp>

Inheritance diagram for Fastcgipp::Exceptions::Socket:

Fastcgipp::Exceptions::Exception Fastcgipp::Exceptions::SocketRead Fastcgipp::Exceptions::SocketWrite

List of all members.

Public Member Functions

 Socket (int fd_, int erno_)
 Sole Constructor.
 ~Socket () throw ()
virtual const char * what () const =0 throw ()
int getFd () const throw ()
int getErrno () const throw ()

Protected Attributes

int fd
 File descriptor of socket.
int erno
 Associated errno.


Detailed Description

General exception for socket related errors.

Definition at line 119 of file exceptions.hpp.


Constructor & Destructor Documentation

Fastcgipp::Exceptions::Socket::Socket ( int  fd_,
int  erno_ 
) [inline]

Sole Constructor.

Parameters:
[in] fd_ File descriptor of socket
[in] erno_ Associated errno

Definition at line 127 of file exceptions.hpp.

Fastcgipp::Exceptions::Socket::~Socket (  )  throw () [inline]

Definition at line 128 of file exceptions.hpp.


Member Function Documentation

int Fastcgipp::Exceptions::Socket::getErrno (  )  const throw () [inline]

Definition at line 131 of file exceptions.hpp.

References erno.

int Fastcgipp::Exceptions::Socket::getFd (  )  const throw () [inline]

Definition at line 130 of file exceptions.hpp.

References fd.

virtual const char* Fastcgipp::Exceptions::Socket::what (  )  const throw () [pure virtual]


Member Data Documentation

File descriptor of socket.

Definition at line 134 of file exceptions.hpp.

Referenced by getFd(), Fastcgipp::Exceptions::SocketRead::SocketRead(), and Fastcgipp::Exceptions::SocketWrite::SocketWrite().


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

Generated on Thu Dec 11 01:47:29 2008 for fastcgi++ by  doxygen 1.5.7.1