diff --git a/dragonflow/common/exceptions.py b/dragonflow/common/exceptions.py index 119f8a28f..49dfc2034 100644 --- a/dragonflow/common/exceptions.py +++ b/dragonflow/common/exceptions.py @@ -52,20 +52,6 @@ class DBKeyNotFound(DragonflowException): message = _('DB Key not found, key=%(key)s') -class SocketReadException(DragonflowException): - """ - An exception for cases when read data from socket. - """ - message = _('Exception happened when read data from socket') - - -class SocketWriteException(DragonflowException): - """ - An exception for cases when send data by socket. - """ - message = _('Exception happened when write data to socket') - - class UnsupportedTransportException(DragonflowException): """ An exception for cases when the given transport protocol (e.g. UDP, TCP) is @@ -79,10 +65,6 @@ class DBLockFailed(DragonflowException): "the session=%(sid)s.") -class DBClientNotFound(DragonflowException): - message = _('DB client not found, ip=%(ip)s') - - class DBStoreRecordNotFound(DragonflowException): message = _('%(record)s not found in db_store!')