protected void handleDownloadError(@NotNull SdkType type, @NotNull @Nls String title, @NotNull Throwable exception) {
      LOG.warn("SDK Download failed. " + exception.getMessage(), exception);
      if (ApplicationManager.getApplication().isUnitTestMode()) return;
      myModalityTracker.invokeLater(() -> {
        Messages.showErrorDialog(ProjectBundle.message("error.message.sdk.download.failed", type.getPresentableName()), title);
      });
    }
protected void handleDownloadError(@NotNull SdkType type, @NotNull @Nls String title, @NotNull Throwable exception)