From: Alec Warner Date: Sat, 25 Feb 2006 05:11:06 +0000 (-0000) Subject: Adding a new exception class. X-Git-Tag: v2.1_pre6~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1063b0398a7e842a847265d8ad2027b515ee27f8;p=portage.git Adding a new exception class. svn path=/main/trunk/; revision=2782 --- 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"""