diff options
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 1f51a08b5..e2db0dad8 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1100,6 +1100,14 @@ class UnexpectedTaskStateError(NovaException): "the actual state is %(actual)s") +class CryptoCAFileNotFound(FileNotFound): + message = _("The CA file for %(project)s could not be found") + + +class CryptoCRLFileNotFound(FileNotFound): + message = _("The CRL file for %(project)s could not be found") + + def get_context_from_function_and_args(function, args, kwargs): """Find an arg of type RequestContext and return it. |