From 274df8f7263b7b0bf2bc39e49fdad50e4a5e3faa Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Wed, 15 Nov 2017 09:47:14 +0100 Subject: [PATCH] Consistency when libbatch is missing. --- src/Launcher/Launcher.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- 2.39.2