[Trivial] Remove an unused exception definition

Change-Id: Ib747fdbf1a58f5e574a2a38bc52b8d5ff2215782
This commit is contained in:
liusheng 2016-05-10 10:44:44 +08:00
parent 112250e14e
commit 3daed76df8

View File

@ -43,14 +43,6 @@ class ClientSideError(wsme.exc.ClientSideError):
super(ClientSideError, self).__init__(error, status_code)
class EntityNotFound(ClientSideError):
def __init__(self, entity, id):
super(EntityNotFound, self).__init__(
_("%(entity)s %(id)s Not Found") % {'entity': entity,
'id': id},
status_code=404)
class ProjectNotAuthorized(ClientSideError):
def __init__(self, id, aspect='project'):
params = dict(aspect=aspect, id=id)