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

Contents of /smsdaemon/Exceptions.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (show annotations) (download)
Wed Dec 17 23:43:26 2008 UTC (15 years, 4 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 #ifndef __EXCEPTIONS_H__
2 #define __EXCEPTIONS_H__
3
4 #include <stdexcept>
5
6
7 class filenotfoundexception : public std::runtime_error
8 {
9 public:
10 filenotfoundexception() : runtime_error("") {}
11 };
12
13
14 class smsnotfoundexception : public std::runtime_error
15 {
16 public:
17 smsnotfoundexception() : runtime_error("") {}
18 };
19
20 class httpexception : public std::runtime_error
21 {
22 public:
23 httpexception(const char* msg) : runtime_error(msg) {}
24 };
25
26
27 #endif //__EXCEPTIONS_H__

  ViewVC Help
Powered by ViewVC 1.1.20