diff options
| author | Donal Lafferty <donal.lafferty@citrix.com> | 2011-06-29 16:18:33 +0100 |
|---|---|---|
| committer | Donal Lafferty <donal.lafferty@citrix.com> | 2011-06-29 16:18:33 +0100 |
| commit | fcf1a6d8f62a39d64fcf4d9f3629cefda73718f0 (patch) | |
| tree | 79fdeb2a793af213bcfcb78112eb962f7e3dcf8c /nova/exception.py | |
| parent | 3794d8889ed933fc776d7541ef25e2c9583a6cf6 (diff) | |
| parent | 4a3ef4367db23e8495e9c1dc4a49b5c66a6c763e (diff) | |
adopt merge
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 8a63a79f2..ef50b144f 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -508,6 +508,11 @@ class InstanceMetadataNotFound(NotFound): "key %(metadata_key)s.") +class InstanceTypeExtraSpecsNotFound(NotFound): + message = _("Instance Type %(instance_type_id)s has no extra specs with " + "key %(extra_specs_key)s.") + + class LDAPObjectNotFound(NotFound): message = _("LDAP object could not be found") @@ -593,3 +598,11 @@ class MigrationError(NovaException): class MalformedRequestBody(NovaException): message = _("Malformed message body: %(reason)s") + + +class PasteConfigNotFound(NotFound): + message = _("Could not find paste config at %(path)s") + + +class PasteAppNotFound(NotFound): + message = _("Could not load paste app '%(name)s' from %(path)s") |
