#include #include #include using namespace newsbeuter; exception::exception(unsigned int error_code) : ecode(error_code) { } exception::~exception() throw() { } const char * exception::what() const throw() { return std::strerror(ecode); }