14#include "keyple/core/service/cpp/Job.hpp"
19#include "keyple/core/util/cpp/exception/IllegalArgumentException.hpp"
26using keyple::core::util::cpp::exception::IllegalArgumentException;
28Job::Job(
const std::string& name)
35Job::cancel(
const bool mayInterruptIfRunning)
37 if (mayInterruptIfRunning) {
38 throw IllegalArgumentException(
39 "Unsupported value for mayInterruptIfRunning (true)");
58Job::isCancelled()
const