code: public void cancel(final String msg) {
      JobState js = msg == null ? JobState.CANCELLED : JobState.FAILED;
      cancel(msg, js);
    }
docs: Signal exceptional cancellation of this job.
  @param msg cancellation message explaining reason for cancelation