Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

eqn_cruncher::socket_error Class Reference

This exception is the base class for 2 other socket errors: host_error, and port_error. More...

#include <socket.hpp>

Inheritance diagram for eqn_cruncher::socket_error:

eqn_cruncher::host_error eqn_cruncher::port_error List of all members.

Public Methods

 socket_error (std::string const &_reason)
 Constructs a socket_error from a string argument.

 socket_error ()
 Default constructs a socket_error.


Detailed Description

This exception is the base class for 2 other socket errors: host_error, and port_error.

This exception is thrown whenever there is an error in interacting with the sockets, and the other 2 exceptions do not apply. Situations where this ecception is thrown include errors while binding, listening, connecting, and send/receiving data.


Constructor & Destructor Documentation

eqn_cruncher::socket_error::socket_error std::string const &    _reason [inline]
 

Constructs a socket_error from a string argument.

Parameters:
_reason  The string argument specifying the reason for throwing the exception.

eqn_cruncher::socket_error::socket_error   [inline]
 

Default constructs a socket_error.


The documentation for this class was generated from the following file:
Generated on Mon Oct 11 13:09:26 2004 for Equation Cruncher by doxygen1.2.18