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

eqn_cruncher::port_error Class Reference

This exception is thrown whenever a socket fails to bind to particular port either because that port does not exist, or it's already being bound by someone else, or for some other reason. More...

#include <socket.hpp>

Inheritance diagram for eqn_cruncher::port_error:

eqn_cruncher::socket_error List of all members.

Public Methods

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

 port_error ()
 Default constructs a port_error.


Detailed Description

This exception is thrown whenever a socket fails to bind to particular port either because that port does not exist, or it's already being bound by someone else, or for some other reason.


Constructor & Destructor Documentation

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

Constructs a port_error from a string argument.

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

eqn_cruncher::port_error::port_error   [inline]
 

Default constructs a port_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