remove useless exceptions for dragonflow
Change-Id: Ib92d1610e00d510f6ad2f6f3ba6269db3e263876
This commit is contained in:
parent
802f5c79c8
commit
f7add009f9
|
@ -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!')
|
||||
|
||||
|
|
Loading…
Reference in New Issue