summaryrefslogtreecommitdiffstats
path: root/src/Gui/ABRTExceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui/ABRTExceptions.py')
-rw-r--r--src/Gui/ABRTExceptions.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Gui/ABRTExceptions.py b/src/Gui/ABRTExceptions.py
index 5f759dd..9b1aa32 100644
--- a/src/Gui/ABRTExceptions.py
+++ b/src/Gui/ABRTExceptions.py
@@ -1,6 +1,14 @@
+from abrt_utils import _
class IsRunning(Exception):
def __init__(self):
- self.what = "Another client is already running, trying to wake it."
+ self.what = _("Another client is already running, trying to wake it.")
+ def __str__(self):
+ return self.what
+
+class WrongData(Exception):
+ def __init__(self):
+ self.what = _("Got unexpected data from daemon (is the database properly updated?).")
+
def __str__(self):
return self.what