void (@NotNull String errorMessage, @Nullable String errorDetails) { var combinedMessage = errorMessage + "\n" + errorDetails; if (combinedMessage.contains("org.gradle.wrapper.Download.download") && combinedMessage.contains("java.net.SocketException")) { ExternalResourcesChecker.reportUnavailability("Gradle distribution service", null); } super.handleImportFailure(errorMessage, errorDetails); }