aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rdr/Exception.h')
-rw-r--r--common/rdr/Exception.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rdr/Exception.h b/common/rdr/Exception.h
index f1a167e5..1202c37c 100644
--- a/common/rdr/Exception.h
+++ b/common/rdr/Exception.h
@@ -37,6 +37,10 @@ namespace rdr {
SystemException(const char* s, int err_);
};
+ struct SocketException : public SystemException {
+ SocketException(const char* text, int err_) : SystemException(text, err_) {}
+ };
+
struct GAIException : public Exception {
int err;
GAIException(const char* s, int err_);