#include <user_info.h>
Public Member Functions | |
UIException (const string &message) | |
The constructor. | |
virtual const char * | what () const throw () |
Overriden method for reporting the error message. | |
Static Protected Member Functions | |
static string | format_message (const string &reason, const string &path) |
Generic exception for reporting configuration errors
bdm::UIException::UIException | ( | const string & | message | ) | [inline] |
The constructor.
message | the reason for throwing the exception. Should be a complete English sentence (or a couple sentences), starting with "UIException: ". |
string bdm::UIException::format_message | ( | const string & | reason, | |
const string & | path | |||
) | [static, protected] |
Formats error messages for derived classes, which use a Setting path in addition to the message.