Parent Directory | Revision Log
Util.*, HttpClient.*: make a new Http client based on libcurl and deprecate Util::readUrl WeatherPlugin.cpp, TrainInfo.cpp: Make use of HttpClient UrlTriggerPlugin.*: Make a new plugin which can trigger an external webapp. and return the response back to the requester
1 | torben | 148 | #ifndef __EXCEPTIONS_H__ |
2 | #define __EXCEPTIONS_H__ | ||
3 | |||
4 | torben | 132 | #include <stdexcept> |
5 | |||
6 | |||
7 | torben | 193 | class filenotfoundexception : public std::runtime_error |
8 | torben | 132 | { |
9 | public: | ||
10 | filenotfoundexception() : runtime_error("") {} | ||
11 | }; | ||
12 | torben | 148 | |
13 | |||
14 | torben | 193 | class smsnotfoundexception : public std::runtime_error |
15 | torben | 178 | { |
16 | public: | ||
17 | smsnotfoundexception() : runtime_error("") {} | ||
18 | }; | ||
19 | |||
20 | torben | 193 | class httpexception : public std::runtime_error |
21 | { | ||
22 | public: | ||
23 | httpexception(const char* msg) : runtime_error(msg) {} | ||
24 | }; | ||
25 | torben | 178 | |
26 | torben | 193 | |
27 | torben | 148 | #endif //__EXCEPTIONS_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |