[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 |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

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


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