code: public String[] getVersionLabels(Version version) throws VersionException, RepositoryException
     {
        checkValid();
  
        List<String> vlabels = getVersionLabelsList(version);
  
        String[] res = new String[vlabels.size()];
        for (int i = 0; i < vlabels.size(); i++)
        {
           res[i] = vlabels.get(i);
        }
        return res;
     }
docs: {@inheritDoc}