Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ss::socket_exception Class Reference
[Exception Handling]

Thrown to indicate a socket operation error. More...

#include <socket_exception.h>

Inheritance diagram for ss::socket_exception:

Inheritance graph
[legend]
Collaboration diagram for ss::socket_exception:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 socket_exception () throw ()
 Constructor.
 socket_exception (int __code) throw ()
 Constructor.
virtual ~socket_exception () throw ()
 Destructor.
virtual const char * what () const throw ()
 Returns a C-style character string describing the cause of the current error.
virtual int code () const throw ()
 Returns the error code relative to the error condition caught.

Protected Attributes

std::string _M_msg
int _M_code

Detailed Description

Thrown to indicate a socket operation error.

Definition at line 38 of file socket_exception.h.


Constructor & Destructor Documentation

ss::socket_exception::socket_exception  )  throw ()
 

Constructor.

The error message is obtained through a function call.

ss::socket_exception::socket_exception int  __code  )  throw ()
 

Constructor.

The error message is obtained through a function call.


The documentation for this class was generated from the following file:
Generated on Sat May 21 21:25:51 2005 for Socket Streams Library by  doxygen 1.4.3