12 Exception::Exception(const string &w):
15 #ifdef WITH_EXCEPTION_BACKTRACE
16 bt = Debug::Backtrace::create();
20 Exception &Exception::at(const std::string &w) throw()
28 SystemError::SystemError(const string &w_, int e):
29 Exception(build_what(w_, e)),
33 string SystemError::build_what(const string &w, int e)
39 if(FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, 0, e, 0, msg, sizeof(msg), 0))
50 KeyError::KeyError(const string &w_, const string &k):
51 Exception(w_+" ("+k+")"),