summaryrefslogtreecommitdiffstats
path: root/keystone/exception.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-11-09 08:32:18 -0600
committerGerrit Code Review <review@openstack.org>2012-11-20 17:49:00 +0000
commitddc8c833684ff0db65553b09b87eed7b80c7075d (patch)
treeb7c52bf9ca7edbc52020c0177315cd1a0a8ce755 /keystone/exception.py
parentff669f0da9cbf5250d8bb3e904608677f9164b6c (diff)
downloadkeystone-ddc8c833684ff0db65553b09b87eed7b80c7075d.tar.gz
keystone-ddc8c833684ff0db65553b09b87eed7b80c7075d.tar.xz
keystone-ddc8c833684ff0db65553b09b87eed7b80c7075d.zip
v3 Identity
- v3 identity tests (bug 1023930) - v3 identity implementation (bug 1023937) Change-Id: Ic46575afe9760d9da85e262d0cf063ea002d9dcd
Diffstat (limited to 'keystone/exception.py')
-rw-r--r--keystone/exception.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/keystone/exception.py b/keystone/exception.py
index cc61a632..4b9721cf 100644
--- a/keystone/exception.py
+++ b/keystone/exception.py
@@ -95,10 +95,18 @@ class ServiceNotFound(NotFound):
"""Could not find service: %(service_id)s"""
+class DomainNotFound(NotFound):
+ """Could not find domain: %(domain_id)s"""
+
+
class TenantNotFound(NotFound):
"""Could not find tenant: %(tenant_id)s"""
+class ProjectNotFound(TenantNotFound):
+ """Could not find project: %(project_id)s"""
+
+
class TokenNotFound(NotFound):
"""Could not find token: %(token_id)s"""