Threading pt 2 (of 3, likely)
[ric-plt/a1.git] / a1 / exceptions.py
index 055cafb..c76e9f2 100644 (file)
@@ -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"""