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) {}
+ ServerException(const char *msg, char _type) : type(_type) {}
+ char getType() {return type;}
};
#endif