aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/contrib/moon/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/keystone/contrib/moon/exception.py')
-rw-r--r--keystone-moon/keystone/contrib/moon/exception.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/keystone-moon/keystone/contrib/moon/exception.py b/keystone-moon/keystone/contrib/moon/exception.py
index 1bf36abd..1339122c 100644
--- a/keystone-moon/keystone/contrib/moon/exception.py
+++ b/keystone-moon/keystone/contrib/moon/exception.py
@@ -78,13 +78,6 @@ class IntraExtensionException(MoonError):
title = 'Extension Error'
-class IntraExtensionUnMapped(IntraExtensionException):
- message_format = _("The Extension is not mapped to a tenant.")
- code = 400
- title = 'Extension UUID Not Found Error'
- logger = "WARNING"
-
-
class IntraExtensionUnknown(IntraExtensionException):
message_format = _("The intra_extension is unknown.")
code = 400
@@ -327,13 +320,6 @@ class ActionAssignmentExisting(AuthzAssignment):
logger = "ERROR"
-class AggregationAlgorithmExisting(AuthzMetadata):
- message_format = _("The given aggregation algorithm is existing.")
- code = 400
- title = 'Aggregation Algorithm Existing'
- logger = "ERROR"
-
-
class AggregationAlgorithmNotExisting(AuthzMetadata):
message_format = _("The given aggregation algorithm is not existing.")
code = 400
@@ -354,6 +340,7 @@ class SubMetaRuleUnknown(AuthzMetadata):
title = 'Sub Meta Rule Unknown'
logger = "ERROR"
+
class SubMetaRuleNameExisting(AuthzMetadata):
message_format = _("The sub meta rule name is existing.")
code = 400