#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");
P::Except::Except | ( | const char * | file, |
const char * | function, | ||
int | line, | ||
const char * | format, | ||
... | |||
) | throw () |
virtual P::Except::~Except | ( | ) | throw () [inline, virtual] |
void P::Except::Set | ( | const string & | s | ) | [inline] |
virtual const char* P::Except::what | ( | ) | const throw () [inline, virtual] |
string P::Except::_what [private] |