edits
[iotcloud.git] / version2 / src / C / Error.h
index 61f1b6e0ad31d266e818bd71f3b5c809a0045e65..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644 (file)
@@ -5,6 +5,11 @@ public:
        Error(const char *msg) {}
 };
 
+class SocketTimeoutException {
+public:
+private:
+};
+
 class Exception {
 public:
        Exception(const char *msg) {}
@@ -12,11 +17,12 @@ public:
 
 #define ServerException_TypeInputTimeout 1
 #define ServerException_TypeConnectTimeout 2
+#define ServerException_TypeSalt 3
 
 class ServerException {
-public:
- ServerException(const char *msg, char _type) : type(_type) {}
-       char getType();
        char type;
+public:
+       ServerException(const char *msg, char _type) : type(_type) {}
+       char getType() {return type;}
 };
 #endif