diff options
author | Alec Warner <antarus@gentoo.org> | 2006-02-25 05:11:06 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-02-25 05:11:06 +0000 |
commit | 1063b0398a7e842a847265d8ad2027b515ee27f8 (patch) | |
tree | 67d44ea0ac113397cdf8a9f5929e6e9748f1e4d4 | |
parent | 1825fa12a1b6c8b210d1f21898846fc6315ddf1e (diff) | |
download | portage-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.py | 6 |
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""" |