--- smsdaemon/Exceptions.h 2008/12/17 20:55:13 192 +++ smsdaemon/Exceptions.h 2008/12/17 23:43:26 193 @@ -4,18 +4,24 @@ #include -class filenotfoundexception : std::runtime_error +class filenotfoundexception : public std::runtime_error { public: filenotfoundexception() : runtime_error("") {} }; -class smsnotfoundexception : std::runtime_error +class smsnotfoundexception : public std::runtime_error { public: smsnotfoundexception() : runtime_error("") {} }; +class httpexception : public std::runtime_error +{ +public: + httpexception(const char* msg) : runtime_error(msg) {} +}; + #endif //__EXCEPTIONS_H__