From 1063b0398a7e842a847265d8ad2027b515ee27f8 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 25 Feb 2006 05:11:06 +0000 Subject: Adding a new exception class. svn path=/main/trunk/; revision=2782 --- pym/portage_exception.py | 6 ++++-- 1 file 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""" -- cgit v1.2.3-1-g7c22