1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include "rsspp.h" #include "config.h" namespace rsspp { Exception::Exception(const std::string& errmsg) : emsg(errmsg) { } Exception::~Exception() throw() {} const char* Exception::what() const throw() { return emsg.c_str(); } } // namespace rsspp