ConfigBadFile Class Reference
[Configuration-related objects]

An exception indicating a problem reading the file. More...

#include <cmconfig.h>

Inheritance diagram for ConfigBadFile:

Inheritance graph
[legend]
Collaboration diagram for ConfigBadFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigBadFile (const std::string &thefile, const int err=0)
virtual const char * what (void) const throw ()

Private Attributes

int saved_errno


Detailed Description

An exception indicating a problem reading the file.

The parameters to the constructor specify the filename, and optionally an errno value to report. If errno is zero, it's not reported.

Definition at line 164 of file cmconfig.h.


Constructor & Destructor Documentation

ConfigBadFile::ConfigBadFile ( const std::string &  thefile,
const int  err = 0 
) [inline]

Definition at line 166 of file cmconfig.h.

References ConfigException::set_file().

Here is the call graph for this function:


Member Function Documentation

const char * ConfigBadFile::what ( void   )  const throw () [virtual]

Reimplemented from ConfigException.

Definition at line 209 of file cmconfig.cc.

References saved_errno.


Member Data Documentation

Definition at line 171 of file cmconfig.h.

Referenced by what().


The documentation for this class was generated from the following files:

Generated on Tue May 13 11:32:43 2008 for consmgr by  doxygen 1.5.5