#ifndef AK_EXCEPTION__H #define AK_EXCEPTION__H #include namespace newsbeuter { class exception : public std::exception { public: explicit exception(unsigned int error_code = 0); ~exception() throw(); virtual const char* what() const throw(); private: unsigned int ecode; }; } #endif