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

CODEX_Ciphers::ExceptionBase Class Reference

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

#include <CipherExceptions.h>

List of all members.

Public Member Functions

 ExceptionBase (const string &fname, int line)
 Create an ExceptionBase.
virtual ~ExceptionBase ()
 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.


Detailed Description

Base class for all exceptions thrown by classes in CODEX_Ciphers.

Definition at line 37 of file CipherExceptions.h.


Constructor & Destructor Documentation

CODEX_Ciphers::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

Definition at line 45 of file CipherExceptions.h.

References fname().


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