X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=a1%2Fexceptions.py;h=c76e9f2bc2df1c1d2b660c90ca1853bf00013a66;hb=ccb4a69e473cab6db7e8d52a04f9b4922528e24f;hp=b9242926d010efe35467a1b746963d1b695e9e98;hpb=40caa314d23122f0bd25c0e66b65d10303538164;p=ric-plt%2Fa1.git diff --git a/a1/exceptions.py b/a1/exceptions.py index b924292..c76e9f2 100644 --- a/a1/exceptions.py +++ b/a1/exceptions.py @@ -19,6 +19,10 @@ Custom Exceptions """ +class CantDeleteNonEmptyType(BaseException): + """tried to delete a type that isn't empty""" + + class PolicyInstanceNotFound(BaseException): """a policy instance cannot be found""" @@ -27,13 +31,5 @@ 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"""