[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/3] Add exceptions specific to the new Size class.



From: David Cantrell <dcantrell redhat com>

---
 pyanaconda/storage/errors.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/errors.py b/pyanaconda/storage/errors.py
index ea7e79c..e53bb23 100644
--- a/pyanaconda/storage/errors.py
+++ b/pyanaconda/storage/errors.py
@@ -154,3 +154,13 @@ class UnrecognizedFSTabEntryError(StorageError):
 # dasd
 class DasdFormatError(StorageError):
     pass
+
+# size
+class SizeParamsError(StorageError):
+    pass
+
+class SizeNotPositiveError(StorageError):
+    pass
+
+class SizePlacesError(StorageError):
+    pass
-- 
1.7.2.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]