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

CODEX_Exceptions::FileCannotOpenException Class Reference

Exception thrown when a file cannot be opened for reading. More...

#include <FileExceptions.h>

Inheritance diagram for CODEX_Exceptions::FileCannotOpenException:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Exceptions::FileCannotOpenException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileCannotOpenException (const string &fname, int line, const string &file)
 Constructor.
virtual ~FileCannotOpenException ()
 Virtual destructor.
void report () const
 Derived classes override this method to display their error messages.
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 derivedMsg () const
 All file exceptions override this method to provide details relating to their specific errors.

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

Exception thrown when a file cannot be opened for reading.

Definition at line 77 of file FileExceptions.h.


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