summaryrefslogtreecommitdiff
path: root/portato/backend/exceptions.py
diff options
context:
space:
mode:
authornecoro <>2006-11-24 12:02:21 +0000
committernecoro <>2006-11-24 12:02:21 +0000
commitaaf3830acd70c3a40be92974f3a896f19ae29192 (patch)
treeefcdf6c75ea289052b9076622798fbbd1b8c1a94 /portato/backend/exceptions.py
parent7fbdc7d54fe592946ae30110afb59e3707aa9dba (diff)
downloadportato-aaf3830acd70c3a40be92974f3a896f19ae29192.tar.gz
portato-aaf3830acd70c3a40be92974f3a896f19ae29192.tar.bz2
portato-aaf3830acd70c3a40be92974f3a896f19ae29192.zip
Renamed to portato
Diffstat (limited to 'portato/backend/exceptions.py')
-rw-r--r--portato/backend/exceptions.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/portato/backend/exceptions.py b/portato/backend/exceptions.py
new file mode 100644
index 0000000..a5cb2fb
--- /dev/null
+++ b/portato/backend/exceptions.py
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+#
+# File: portato/backend/exceptions.py
+# This file is part of the Portato-Project, a graphical portage-frontend.
+#
+# Copyright (C) 2006 René 'Necoro' Neumann
+# 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 René 'Necoro' Neumann <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