From: eap Date: Thu, 13 Oct 2011 09:09:37 +0000 (+0000) Subject: Add stopJob() for #ifndef WITH_LIBBATCH X-Git-Tag: Before_0020136~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c56b1f56b7ed2b196fbea1e9987a3df19e3cfad0;p=modules%2Fkernel.git Add stopJob() for #ifndef WITH_LIBBATCH --- 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) {