Exception for reporting configuration errors related to some concrete Setting path
#include <user_info.h>
Public Member Functions | |
UISettingException (const string &message, const Setting &element) | |
Use this constructor when you can pass the problematical Setting as a parameter. | |
UISettingException (const string &message, const string &path) | |
This constructor is for other occasions, when only path of problematical Setting is known. | |
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) |
string bdm::UIException::format_message | ( | const string & | reason, | |
const string & | path | |||
) | [static, protected, inherited] |
Formats error messages for derived classes, which use a Setting path in addition to the message.