Exception(const char *msg) {}
};
+#define ServerException_TypeInputTimeout 1
+#define ServerException_TypeConnectTimeout 2
+
class ServerException {
public:
- ServerException(const char *msg) {}
+ ServerException(const char *msg, char _type) : type(_type) {}
+ char getType();
+ char type;
};
#endif