summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-02-25 05:11:06 +0000
committerAlec Warner <antarus@gentoo.org>2006-02-25 05:11:06 +0000
commit1063b0398a7e842a847265d8ad2027b515ee27f8 (patch)
tree67d44ea0ac113397cdf8a9f5929e6e9748f1e4d4
parent1825fa12a1b6c8b210d1f21898846fc6315ddf1e (diff)
downloadportage-1063b0398a7e842a847265d8ad2027b515ee27f8.tar.gz
portage-1063b0398a7e842a847265d8ad2027b515ee27f8.tar.bz2
portage-1063b0398a7e842a847265d8ad2027b515ee27f8.zip
Adding a new exception class.
svn path=/main/trunk/; revision=2782
-rw-r--r--pym/portage_exception.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage_exception.py b/pym/portage_exception.py
index ae3a9db4f..27294da6e 100644
--- a/pym/portage_exception.py
+++ b/pym/portage_exception.py
@@ -23,11 +23,13 @@ class SecurityViolation(PortageException):
"""An incorrect formatting was passed instead of the expected one"""
class IncorrectParameter(PortageException):
- """An parameter of the wrong type was passed"""
+ """A parameter of the wrong type was passed"""
class MissingParameter(PortageException):
- """An parameter is required for the action requested but was not passed"""
+ """A parameter is required for the action requested but was not passed"""
+class ParseError(PortageException):
+ """An error was generated while attempting to parse the request"""
class InvalidData(PortageException):
"""An incorrect formatting was passed instead of the expected one"""