blob: 1fc1ef3345e8c9222ea1a180f876f00dad9dcff3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef NEWSBOAT_RSSPPEXCEPTION_H_
#define NEWSBOAT_RSSPPEXCEPTION_H_
#include <exception>
#include <string>
namespace rsspp {
class Exception : public std::exception {
public:
explicit Exception(const std::string& errmsg = "");
~Exception() throw() override;
const char* what() const throw() override;
private:
std::string emsg;
};
class NotModifiedException : public std::exception {
};
} // namespace rsspp
#endif /* NEWSBOAT_RSSPPEXCEPTION_H_ */
|