edits
[iotcloud.git] / version2 / src / C / Error.h
index 4e1126eac790050f588a05f9c806990ef5226145..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644 (file)
@@ -5,4 +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 {
+       char type;
+public:
+       ServerException(const char *msg, char _type) : type(_type) {}
+       char getType() {return type;}
+};
 #endif