From: Ovidiu Mircescu Date: Wed, 15 Nov 2017 08:47:14 +0000 (+0100) Subject: Consistency when libbatch is missing. X-Git-Tag: V8_5_0a1~7^2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=274df8f7263b7b0bf2bc39e49fdad50e4a5e3faa;p=modules%2Fkernel.git Consistency when libbatch is missing. --- diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index 8814a5723..e08c6f283 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -607,6 +607,14 @@ Launcher_cpp::getJobResults(int job_id, std::string directory) "(libBatch was not present at compilation time)"); } +void +Launcher_cpp::clearJobWorkingDir(int job_id) +{ + LAUNCHER_INFOS("Launcher compiled without LIBBATCH - cannot clear directory!!!"); + throw LauncherException("Method Launcher_cpp::clearJobWorkingDir is not available " + "(libBatch was not present at compilation time)"); +} + bool Launcher_cpp::getJobDumpState(int job_id, std::string directory) {