From 7b2d4874b7bd992ef3f09124b7ebbc346eba01f4 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 23 Apr 2009 16:10:55 +0200 Subject: added new abrt exceptions --- lib/Plugins/RunApp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Plugins/RunApp.cpp') 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 #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) { -- cgit