- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 217 for throwAsUncheckedException (0.36 sec)
-
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java
return true; } } return false; } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } Collection<String> supportedTlsVersions() { return Arrays.asList(sslProtocols); } private final String[] sslProtocols;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 18.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 21.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReader.java
} finally { try { in.close(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } } public static DependencyVerifier readFromXml(InputStream in) { DependencyVerifierBuilder builder = new DependencyVerifierBuilder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 13:23:37 UTC 2023 - 19.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java
writer.endElement(); } writer.endElement(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } private void writeOutputs(SimpleXmlWriter writer, long classId, boolean allClassOutput, TestOutputEvent.Destination destination) throws IOException { writer.startCDATA();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:57 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java
classDetector.withoutDetectedModules(unfiltered.implementationModulepath) ); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } public interface ClassDetector extends Closeable { boolean hasClass(String className);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 19.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
nameField.setAccessible(true); nameField.set(sourceUnit, source.getDisplayName()); } catch (Exception failure) { throw UncheckedException.throwAsUncheckedException(failure); } } } SyntaxException syntaxError = e.getErrorCollector().getSyntaxError(0); int lineNumber = syntaxError == null ? -1 : syntaxError.getLine();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java
return BuildActionResult.cancelled(new BuildCancelledException("Daemon was stopped to handle build cancel request.", failure)); } throw UncheckedException.throwAsUncheckedException(failure); } else if (result instanceof DaemonUnavailable) { throw new DaemonInitialConnectException("The daemon we connected to was unavailable: " + ((DaemonUnavailable) result).getReason());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 16.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ExternalResourceResolver.java
String formattedHashString = hash.toString(); try { return formattedHashString.getBytes("US-ASCII"); } catch (UnsupportedEncodingException e) { throw UncheckedException.throwAsUncheckedException(e); } } public List<String> getIvyPatterns() { return CollectionUtils.collect(ivyPatterns, ResourcePattern::getPattern); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 25.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java
// TODO - remove the need for locking here synchronizer.withLock(() -> { state = state.failed(ExecutionResult.failed(t)); }); throw UncheckedException.throwAsUncheckedException(t); } } /** * Runs the given action, verifying the current state is the expected state. * Fails if the current state is not the given state or a previous operation has failed.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:44 UTC 2023 - 20.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
constructor = getReflectionFactory().newConstructorForSerialization(generatedType, baseClass.getDeclaredConstructor()); } catch (NoSuchMethodException e) { throw UncheckedException.throwAsUncheckedException(e); } Method method = findFirst(generatedType.getDeclaredMethods(), m -> m.getName().equals(ClassBuilderImpl.INIT_METHOD)); assert method != null; method.setAccessible(true);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0)