summaryrefslogtreecommitdiff
path: root/lib/server/Socket.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-08-15 22:47:17 +0000
committerChris Wilson <chris+github@qwirx.com>2014-08-15 22:47:17 +0000
commit28f181cc204298272ed96b87e80866075a5a0d57 (patch)
tree9da18bf86956364150fbcbadd207917f93c2cf3f /lib/server/Socket.cpp
parent732370e12192a3b66a8b0a3e1f66eed3ebcdc3d3 (diff)
Remove ServerException.h and the exception code aliases that it defines.
We don't really need these, so clean up by removing them.
Diffstat (limited to 'lib/server/Socket.cpp')
-rw-r--r--lib/server/Socket.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/server/Socket.cpp b/lib/server/Socket.cpp
index f2a4996b..c9c1773d 100644
--- a/lib/server/Socket.cpp
+++ b/lib/server/Socket.cpp
@@ -24,8 +24,9 @@
#include <string.h>
#include <stdio.h>
+#include "autogen_ConnectionException.h"
+#include "autogen_ServerException.h"
#include "Socket.h"
-#include "ServerException.h"
#include "MemLeakFindOn.h"
@@ -69,12 +70,12 @@ void Socket::NameLookupToSockAddr(SocketAllAddr &addr, int &sockDomain,
}
else
{
- THROW_EXCEPTION(ConnectionException, Conn_SocketNameLookupError);
+ THROW_EXCEPTION(ConnectionException, SocketNameLookupError);
}
}
else
{
- THROW_EXCEPTION(ConnectionException, Conn_SocketNameLookupError);
+ THROW_EXCEPTION(ConnectionException, SocketNameLookupError);
}
}
break;