Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Quorum::QSESocketBaseCannotConnect Class Reference

Exception thrown for failure to connect to a remote server. More...

#include <Socket.h>

Inheritance diagram for CODEX_Quorum::QSESocketBaseCannotConnect:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Quorum::QSESocketBaseCannotConnect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QSESocketBaseCannotConnect (const string &fname, int line, int socket, const RemoteServer &server, unsigned long error)
 Specifies socket and remote server for which connection failed.
int socket () const
 File descriptor for the socket on which the error occurred.
const RemoteServerserver () const
 RemoteServer for which connection was attempted.
unsigned long error () const
 Error code from sys/errno.h.
void report () const
 Displays error message for this exception on cerr.
const string & fname () const
 Name of file in which the exception occurred.
int line () const
 Line number in file where the exception was thrown.

Protected Member Functions

void errMsg () const
 All socket exceptions override this method to provide details relating to their specific errors.
void derivedMsg () const
 Derived classes override this method to display their specific error messages.

Protected Attributes

unsigned long m_error
 Error code returned by the offending routine.
string m_fname
 The name of the file in which the exception occurred.
int m_line
 The line number in the file where the exception was thrown.

Detailed Description

Exception thrown for failure to connect to a remote server.

Definition at line 503 of file Socket.h.


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:42:35 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1