summaryrefslogtreecommitdiffstats
path: root/keystone/exception.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-11-02 14:52:38 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2012-11-02 14:53:44 -0500
commit86aaff4a50039a927eac2ca0db927249058bef12 (patch)
treeab803c7bc3c5b778910a80595eb0d58d74391bb3 /keystone/exception.py
parenta6ef09d94300718197a4fa8757fd3a7a45876963 (diff)
parent399cb4cc71c5d48f58a668e0233396de97e65f89 (diff)
downloadkeystone-86aaff4a50039a927eac2ca0db927249058bef12.tar.gz
keystone-86aaff4a50039a927eac2ca0db927249058bef12.tar.xz
keystone-86aaff4a50039a927eac2ca0db927249058bef12.zip
Merge remote-tracking branch 'origin/feature/keystone-v3' into HEAD
Conflicts: keystone/catalog/core.py keystone/identity/core.py Change-Id: Id47b9dd9c4da811d13454b539f78b751d40ed87d
Diffstat (limited to 'keystone/exception.py')
-rw-r--r--keystone/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/keystone/exception.py b/keystone/exception.py
index c3b3ec82..cc61a632 100644
--- a/keystone/exception.py
+++ b/keystone/exception.py
@@ -83,6 +83,10 @@ class MetadataNotFound(NotFound):
# so this exception should not be exposed
+class PolicyNotFound(NotFound):
+ """Could not find policy: %(policy_id)s"""
+
+
class RoleNotFound(NotFound):
"""Could not find role: %(role_id)s"""