Improve exception messages

This patch improves some exception messages.

TrivialFix

Depends-On: I1b97fe8541c1c1325aaad739a30e5989c1fd806a
Change-Id: I71d107bed3685e4c7ac9a4fbae7172941f1e10e3
This commit is contained in:
reedip 2016-03-03 17:24:41 +09:00 committed by Reedip
parent f55453fc1d
commit c188299598
1 changed files with 3 additions and 3 deletions

View File

@ -50,15 +50,15 @@ class InvalidSourcePort(qexception.NotFound):
class PortDoesNotBelongToTenant(qexception.NotAuthorized):
message = _("The port specified does not belong to the tenant")
message = _("The specified port does not belong to the tenant")
class TapServiceNotBelongToTenant(qexception.NotAuthorized):
message = _("Tap Service specified does not belong to the tenant")
message = _("Specified Tap Service does not belong to the tenant")
class TapServiceLimitReached(qexception.OverQuota):
message = _("Reached the upper limit of Tap Services Creatable")
message = _("Reached the maximum quota for Tap Services")
direction_enum = [None, 'IN', 'OUT', 'BOTH']