edits
[iotcloud.git] / version2 / src / C / Error.h
1 #ifndef ERROR_H
2 #define ERROR_H
3 class Error {
4 public:
5         Error(const char *msg) {}
6 };
7
8 class Exception {
9 public:
10         Exception(const char *msg) {}
11 };
12
13 #define ServerException_TypeInputTimeout 1
14
15 class ServerException {
16 public:
17  ServerException(const char *msg, char _type) : type(_type) {}
18         char getType();
19         char type;
20 };
21 #endif