$search
#include <Except.hh>
Public Member Functions | |
Except (const char *file, const char *function, int line, const char *format,...) throw () | |
void | Set (const string &s) |
virtual const char * | what () const throw () |
virtual | ~Except () throw () |
Private Attributes | |
string | _what |
An informative exception class. Example: Except(__FILE__, __FUNCTION__, __LINE__, "There were %d %s in the tree.", 42, "elephants"); output: "DumbFile.cc:StupidFunction:28: There were 42 elephants in the tree." Note: You can use the __HERE__ macro to get shorter statements: Except(__HERE__, "There were %d %s in the tree.", 42, "elephants");
Definition at line 26 of file Except.hh.
P::Except::Except | ( | const char * | file, | |
const char * | function, | |||
int | line, | |||
const char * | format, | |||
... | ||||
) | throw () |
virtual const char* P::Except::what | ( | ) | const throw () [inline, virtual] |
string P::Except::_what [private] |