diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-07 16:18:11 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-07 16:18:11 +0200 |
commit | 25cf8253ef4d2fd7c93f54298d2eccfdf95feb6e (patch) | |
tree | c0e860881bd3e87f8cf0129ce29d922bfcf19f47 | |
parent | 3ca0d6c07b45fd0aca092bd6d9272b2f0dda6fe1 (diff) | |
download | abrt-25cf8253ef4d2fd7c93f54298d2eccfdf95feb6e.tar.gz abrt-25cf8253ef4d2fd7c93f54298d2eccfdf95feb6e.tar.xz abrt-25cf8253ef4d2fd7c93f54298d2eccfdf95feb6e.zip |
Use CABRTException instead of throwing std::string
-rw-r--r-- | lib/CommLayer/CommLayerServerDBus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp index cffd012c..139575ba 100644 --- a/lib/CommLayer/CommLayerServerDBus.cpp +++ b/lib/CommLayer/CommLayerServerDBus.cpp @@ -1,5 +1,6 @@ #include "CommLayerServerDBus.h" #include <iostream> +#include "ABRTException.h" DBus::Connection *CCommLayerServerDBus::init_dbus(CCommLayerServerDBus *self) { @@ -21,7 +22,7 @@ CCommLayerServerDBus::CCommLayerServerDBus() } catch(DBus::Error err) { - throw std::string("Error while requesting dbus name - have you reloaded the dbus settings?"); + throw CABRTException(EXCEP_FATAL, "CCommLayerServerDBus::CCommLayerServerDBus(): Error while requesting dbus name - have you reloaded the dbus settings?"); } } |