code: public void setOptTrack(boolean optTrack) {
      checkCanSetCreateOption("--track");
      if (optNoTrack && optTrack) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  --track cannot be used with --no-track.");
      } 
      this.optTrack = optTrack;
    }
docs: Checks whether the --track option should be set and sets it.
  
  @param optTrack True if the --track option should be used, false otherwise.