From c56b1f56b7ed2b196fbea1e9987a3df19e3cfad0 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 13 Oct 2011 09:09:37 +0000 Subject: [PATCH] Add stopJob() for #ifndef WITH_LIBBATCH --- src/Launcher/Launcher.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index c2d506d75..f0d731297 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -492,6 +492,13 @@ Launcher_cpp::removeJob(int job_id) "(libBatch was not present at compilation time)"); } +void +Launcher_cpp::stopJob(int job_id) +{ + throw LauncherException("Method Launcher_cpp::stopJob is not available " + "(libBatch was not present at compilation time)"); +} + long Launcher_cpp::createJobWithFile( const std::string xmlExecuteFile, std::string clusterName) { -- 2.39.2