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

CODEX_Quorum::QSESocketBaseBadSocket Class Reference

Exception thrown for failure during construction of SocketBase. More...

#include <Socket.h>

Inheritance diagram for CODEX_Quorum::QSESocketBaseBadSocket:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QSESocketBaseBadSocket (const string &fname, int line, int domain, int type, int protocol, unsigned long error)
 Create a QSESocketBaseBadSocket with socket configuration data.
int domain () const
 Communications domain (eg, PF_INET).
int type () const
 Type of socket (eg, SOCK_STREAM).
int protocol () const
 Specific protocol (usually 0).
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 during construction of SocketBase.

Definition at line 388 of file Socket.h.


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