Adding a new exception class.
authorAlec Warner <antarus@gentoo.org>
Sat, 25 Feb 2006 05:11:06 +0000 (05:11 -0000)
committerAlec Warner <antarus@gentoo.org>
Sat, 25 Feb 2006 05:11:06 +0000 (05:11 -0000)
svn path=/main/trunk/; revision=2782

pym/portage_exception.py

index ae3a9db4f374d37cd9e72a2d4a38ab3e36cd7b8d..27294da6e45f56f5a861365e0791d8d2691cfee3 100644 (file)
@@ -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"""