Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_Server::ExceptionBase Class Reference

Base class for all exceptions thrown by classes in CODEX_Server. More...

#include <ServerExceptions.h>

Inheritance diagram for CODEX_Server::ExceptionBase:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::ExceptionBase:

Collaboration graph
[legend]
List of all members.

Public Methods

 ExceptionBase (const string &fname, int line)
 Create an ExceptionBase.

virtual ~ExceptionBase ()
 Virtual destructor.

void report () const
 Displays error message for this exception on cerr.


Protected Methods

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


Detailed Description

Base class for all exceptions thrown by classes in CODEX_Server.

Definition at line 30 of file ServerExceptions.h.


Constructor & Destructor Documentation

CODEX_Server::ExceptionBase::ExceptionBase const string &    fname,
int    line
[inline]
 

Create an ExceptionBase.

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

Reimplemented from CODEX_Exceptions::ExceptionBase.

Definition at line 38 of file ServerExceptions.h.

References CODEX_Exceptions::ExceptionBase::fname(), and CODEX_Exceptions::ExceptionBase::line().


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:19 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18