diff options
| author | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-23 16:10:55 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-23 16:10:55 +0200 |
| commit | 7b2d4874b7bd992ef3f09124b7ebbc346eba01f4 (patch) | |
| tree | 82d62057cf9cae9b4a1fca46f9f30693d92a3f6e /lib/Plugins/RunApp.cpp | |
| parent | 4fa35669bd72794b1acae57c98e57297d9e65794 (diff) | |
| download | abrt-7b2d4874b7bd992ef3f09124b7ebbc346eba01f4.tar.gz abrt-7b2d4874b7bd992ef3f09124b7ebbc346eba01f4.tar.xz abrt-7b2d4874b7bd992ef3f09124b7ebbc346eba01f4.zip | |
added new abrt exceptions
Diffstat (limited to 'lib/Plugins/RunApp.cpp')
| -rw-r--r-- | lib/Plugins/RunApp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Plugins/RunApp.cpp b/lib/Plugins/RunApp.cpp index 9f08e05..8a8db08 100644 --- a/lib/Plugins/RunApp.cpp +++ b/lib/Plugins/RunApp.cpp @@ -23,6 +23,7 @@ #include "RunApp.h" #include <stdio.h> #include "DebugDump.h" +#include "ABRTException.h" #define COMMAND 0 #define FILENAME 1 @@ -67,7 +68,7 @@ void CActionRunApp::Run(const std::string& pDebugDumpDir, FILE *fp = popen(args[COMMAND].c_str(), "r"); if (fp == NULL) { - throw "CActionRunApp::Run(): cannot execute " + args[COMMAND]; + throw CABRTException(EXCEP_PLUGIN, "CActionRunApp::Run(): cannot execute " + args[COMMAND]); } while (fgets(line, 1024, fp) != NULL) { |
