X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=a1%2Fexceptions.py;h=c76e9f2bc2df1c1d2b660c90ca1853bf00013a66;hb=8bcc51a6d44d40a1a338fb6a721b5ee8f992f323;hp=055cafbf835323265bb4fc776e7f12859d4599eb;hpb=5ad8f03e1fc7683bb59da31f59edc2f6c0b2372b;p=ric-plt%2Fa1.git diff --git a/a1/exceptions.py b/a1/exceptions.py index 055cafb..c76e9f2 100644 --- a/a1/exceptions.py +++ b/a1/exceptions.py @@ -19,25 +19,17 @@ Custom Exceptions """ -class MessageSendFailure(BaseException): - pass +class CantDeleteNonEmptyType(BaseException): + """tried to delete a type that isn't empty""" -class ExpectedAckNotReceived(BaseException): - pass +class PolicyInstanceNotFound(BaseException): + """a policy instance cannot be found""" -class PolicyNotFound(BaseException): - pass +class PolicyTypeNotFound(BaseException): + """a policy type instance cannot be found""" -class MissingRmrString(BaseException): - pass - - -class MissingManifest(BaseException): - pass - - -class MissingRmrMapping(BaseException): - pass +class PolicyTypeAlreadyExists(BaseException): + """a policy type already exists and replace not supported at this time"""