#include <cmconfig.h>


Public Member Functions | |
| ConfigException (const string &) | |
| ConfigException (const string &, const string &, const int) | |
| virtual | ~ConfigException () throw () |
| virtual const char * | what (void) const throw () |
| void | set_file (const string &) |
| void | set_line (const int) |
Protected Attributes | |
| string | reason |
| string | file |
| int | line |
Since numerous applications need to understand the configuation file subsystem, we make a set of exceptions to return information to these programs.
Definition at line 143 of file cmconfig.h.
| ConfigException::ConfigException | ( | const string & | r | ) |
Definition at line 171 of file cmconfig.cc.
| ConfigException::ConfigException | ( | const string & | r, | |
| const string & | f, | |||
| const | int | |||
| ) |
Definition at line 172 of file cmconfig.cc.
| virtual ConfigException::~ConfigException | ( | ) | throw () [inline, virtual] |
Definition at line 147 of file cmconfig.h.
| const char * ConfigException::what | ( | void | ) | const throw () [virtual] |
Reimplemented in ConfigBadFile, and ConfigUnfoundException.
Definition at line 190 of file cmconfig.cc.
Referenced by main().

| void ConfigException::set_file | ( | const string & | f | ) |
Definition at line 176 of file cmconfig.cc.
Referenced by ConfigBadFile::ConfigBadFile(), and Getcap::load_entry().

| void ConfigException::set_line | ( | const | int | ) |
string ConfigException::reason [protected] |
Definition at line 156 of file cmconfig.h.
Referenced by ConfigUnfoundException::what(), and what().
string ConfigException::file [protected] |
Definition at line 157 of file cmconfig.h.
int ConfigException::line [protected] |
Definition at line 158 of file cmconfig.h.
Referenced by ConfigParseException::ConfigParseException(), set_line(), and what().
1.5.5