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

CODEX_Quorum::QSExceptionBase Class Reference

Base class for all exceptions thrown by classes in the Quorum package. More...

#include <QSExceptions.h>

Inheritance diagram for CODEX_Quorum::QSExceptionBase:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QSExceptionBase (const string &fname, int line)
 Create a QSExceptionBase.
virtual ~QSExceptionBase ()
 Virtual destructor.
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

virtual void derivedMsg () const =0
 Derived classes override this method to display their specific error messages.

Protected Attributes

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

Base class for all exceptions thrown by classes in the Quorum package.

Definition at line 33 of file QSExceptions.h.


Constructor & Destructor Documentation

CODEX_Quorum::QSExceptionBase::QSExceptionBase const string &  fname,
int  line
[inline]
 

Create a QSExceptionBase.

Parameters:
fname Name of file in which exception occurred
line Line number in file where the exception was thrown

Definition at line 41 of file QSExceptions.h.

References fname().


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