Added proper exception handling, if there are not enough free resources to allocate...
[osm/vim-emu.git] / src / emuvim / dcemulator / resourcemodel / __init__.py
index 21d0868..b79cd7a 100644 (file)
@@ -157,4 +157,8 @@ class BaseResourceModel(object):
         :param action: allocate or free
         :return:
         """
-        pass
\ No newline at end of file
+        pass
+
+
+class NotEnoughResourcesAvailable(BaseException):
+    pass