summaryrefslogtreecommitdiff
path: root/lib/server/ServerException.h
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/ServerException.h
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/ServerException.h')
-rw-r--r--lib/server/ServerException.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/lib/server/ServerException.h b/lib/server/ServerException.h
deleted file mode 100644
index 8851b90a..00000000
--- a/lib/server/ServerException.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// --------------------------------------------------------------------------
-//
-// File
-// Name: ServerException.h
-// Purpose: Exception
-// Created: 2003/07/08
-//
-// --------------------------------------------------------------------------
-
-#ifndef SERVEREXCEPTION__H
-#define SERVEREXCEPTION__H
-
-// Compatibility header
-#include "autogen_ServerException.h"
-#include "autogen_ConnectionException.h"
-
-// Rename old connection exception names to new names without Conn_ prefix
-// This is all because ConnectionException used to be derived from ServerException
-// with some funky magic with subtypes. Perhaps a little unreliable, and the
-// usefulness of it never really was used.
-#define Conn_SocketWriteError SocketWriteError
-#define Conn_SocketReadError SocketReadError
-#define Conn_SocketNameLookupError SocketNameLookupError
-#define Conn_SocketShutdownError SocketShutdownError
-#define Conn_SocketConnectError SocketConnectError
-#define Conn_TLSHandshakeFailed TLSHandshakeFailed
-#define Conn_TLSShutdownFailed TLSShutdownFailed
-#define Conn_TLSWriteFailed TLSWriteFailed
-#define Conn_TLSReadFailed TLSReadFailed
-#define Conn_TLSNoPeerCertificate TLSNoPeerCertificate
-#define Conn_TLSPeerCertificateInvalid TLSPeerCertificateInvalid
-#define Conn_TLSClosedWhenWriting TLSClosedWhenWriting
-#define Conn_TLSHandshakeTimedOut TLSHandshakeTimedOut
-#define Conn_Protocol_Timeout Protocol_Timeout
-#define Conn_Protocol_ObjTooBig Protocol_ObjTooBig
-#define Conn_Protocol_BadCommandRecieved Protocol_BadCommandRecieved
-#define Conn_Protocol_UnknownCommandRecieved Protocol_UnknownCommandRecieved
-#define Conn_Protocol_TriedToExecuteReplyCommand Protocol_TriedToExecuteReplyCommand
-#define Conn_Protocol_UnexpectedReply Protocol_UnexpectedReply
-#define Conn_Protocol_HandshakeFailed Protocol_HandshakeFailed
-#define Conn_Protocol_StreamWhenObjExpected Protocol_StreamWhenObjExpected
-#define Conn_Protocol_ObjWhenStreamExpected Protocol_ObjWhenStreamExpected
-#define Conn_Protocol_TimeOutWhenSendingStream Protocol_TimeOutWhenSendingStream
-
-#endif // SERVEREXCEPTION__H
-