X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=multivimbroker%2Fmultivimbroker%2Fpub%2Fexceptions.py;h=3f989dad7121b1d8913b839b65b7f35305a53091;hb=HEAD;hp=d2b2c80050d0d50c9d48d76fda76c5f0a7081a6b;hpb=300a7e4839621acfb006cd8baadee0c4ed2c8bba;p=multicloud%2Fframework.git diff --git a/multivimbroker/multivimbroker/pub/exceptions.py b/multivimbroker/multivimbroker/pub/exceptions.py index d2b2c80..3f989da 100644 --- a/multivimbroker/multivimbroker/pub/exceptions.py +++ b/multivimbroker/multivimbroker/pub/exceptions.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Wind River Systems, Inc. +# Copyright (c) 2017-2018 VMware, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -10,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - class BaseException(Exception): message = "Exception" @@ -21,13 +21,12 @@ class BaseException(Exception): self.status_code = status_code self.content = content + class VimBrokerException(BaseException): - message = "vim error" + message = "vim error" class NotFound(BaseException): - message = "not found error" - - + message = "not found error"