/[projects]/smsdaemon/Exceptions.h
ViewVC logotype

Annotation of /smsdaemon/Exceptions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (hide annotations) (download)
Wed Dec 17 23:43:26 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 454 byte(s)
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