diff options
Diffstat (limited to 'src/Gui/ABRTExceptions.py')
-rw-r--r-- | src/Gui/ABRTExceptions.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Gui/ABRTExceptions.py b/src/Gui/ABRTExceptions.py index 791654f5..30496384 100644 --- a/src/Gui/ABRTExceptions.py +++ b/src/Gui/ABRTExceptions.py @@ -2,14 +2,23 @@ from abrt_utils import _ class IsRunning(Exception): def __init__(self): + Exception.__init__(self) self.what = _("Another client is already running, trying to wake it.") def __str__(self): return self.what class WrongData(Exception): def __init__(self): + Exception.__init__(self) self.what = _("Got unexpected data from daemon (is the database properly updated?).") def __str__(self): return self.what - + +class ConfBackendInitError(Exception): + def __init__(self, msg): + Exception.__init__(self) + self.what = msg + + def __str__(self): + return self.what |