diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-29 00:11:02 +0100 |
|---|---|---|
| committer | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-29 00:11:02 +0100 |
| commit | 9f4996e8738991a95a23cba2caa660f7002f94cd (patch) | |
| tree | e40bc2e56ea96131200d5e12918bf5a429bb5cc1 /nova/exception.py | |
| parent | c5edaa2186add12947185cb1fd47e0a48eccafa9 (diff) | |
| parent | f61b62983f62aa10d7bed3bc1c406717663be923 (diff) | |
Merge with trunk, including fixing up conflicts with the removal of fake_users
and the reworking of node.py -> service.py.
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index bda002d1e..52497a19e 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -44,6 +44,12 @@ class Duplicate(Error): class NotAuthorized(Error): pass +class NotEmpty(Error): + pass + +class Invalid(Error): + pass + def wrap_exception(f): def _wrap(*args, **kw): try: |
