code: public void createTask(String jobId, TaskAddParameter taskToAdd) throws BatchErrorException, IOException {
          createTask(jobId, taskToAdd, null);
      }
docs: Adds a single task to a job.
  
  @param jobId
  The ID of the job to which to add the task.
  @param taskToAdd
  The {@link TaskAddParameter task} to add.
  @throws BatchErrorException
  Exception thrown when an error response is received from the
  Batch service.
  @throws IOException
  Exception thrown when there is an error in
  serialization/deserialization of data sent to/received from the
  Batch service.