summaryrefslogtreecommitdiff
path: root/geneticone/exceptions.py
diff options
context:
space:
mode:
authornecoro <>2006-09-29 18:40:13 +0000
committernecoro <>2006-09-29 18:40:13 +0000
commite9c45f265ac2bd05135eb14a66daf4bcda20ade7 (patch)
tree80157f07027e26dfcbc403433d6090692ef3d70e /geneticone/exceptions.py
parenta5ec6050507baeed398179bff165a1fe012a7e5b (diff)
downloadportato-e9c45f265ac2bd05135eb14a66daf4bcda20ade7.tar.gz
portato-e9c45f265ac2bd05135eb14a66daf4bcda20ade7.tar.bz2
portato-e9c45f265ac2bd05135eb14a66daf4bcda20ade7.zip
Build in a general helper-file including debugging output
Diffstat (limited to 'geneticone/exceptions.py')
-rw-r--r--geneticone/exceptions.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/geneticone/exceptions.py b/geneticone/exceptions.py
new file mode 100644
index 0000000..5780de6
--- /dev/null
+++ b/geneticone/exceptions.py
@@ -0,0 +1,22 @@
+#
+# File: geneticone/exceptions.py
+# This file is part of the Genetic/One-Project, a graphical portage-frontend.
+#
+# Copyright (C) 2006 Necoro d.M.
+# This is free software. You may redistribute copies of it under the terms of
+# the GNU General Public License version 2.
+# There is NO WARRANTY, to the extent permitted by law.
+#
+# Written by Necoro d.M. <necoro@necoro.net>
+
+class BlockedException (Exception):
+ """An exception marking, that some package is blocking another one."""
+ pass
+
+class PackageNotFoundException (Exception):
+ """An exception marking that a package could not be found."""
+ pass
+
+class DependencyCalcError (Exception):
+ """An error occured during dependency calculation."""
+ pass