edits
[iotcloud.git] / version2 / src / C / Error.h
index 1bb4dd0b323c5e2e9872edc9428ab5dc000a54a8..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644 (file)
@@ -5,17 +5,24 @@ public:
        Error(const char *msg) {}
 };
 
+class SocketTimeoutException {
+public:
+private:
+};
+
 class Exception {
 public:
        Exception(const char *msg) {}
 };
 
 #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