void (final Project project, final Collection<? extends VcsException> exs, final @Nls @NotNull String operation) { if (exs.size() == 1) { showOperationError(project, operation, exs.iterator().next().getMessage()); } else if (exs.size() > 1) { // TODO use dialog in order to show big messages StringBuilder b = new StringBuilder(); for (VcsException ex : exs) { b.append(GitBundle.message("errors.message.item", ex.getMessage())); } showOperationError(project, operation, GitBundle.message("errors.message", b.toString())); } }