- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 217 for throwAsUncheckedException (0.38 sec)
-
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/AntlrExecuter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
} }; } /** * Calls the given callable converting any thrown exception to an unchecked exception via {@link UncheckedException#throwAsUncheckedException(Throwable)} * * @param callable The callable to call * @param <T> Callable's return type * @return The value returned by {@link Callable#call()} */ @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java
ParallelResolveArtifactSet.wrap(artifacts, buildOperationExecutor).visit(collectingVisitor); if (!lenient && !collectingVisitor.getFailures().isEmpty()) { throw UncheckedException.throwAsUncheckedException(collectingVisitor.getFailures().iterator().next()); } return collectingVisitor.getArtifacts(); } private static class NameBackedResolutionHost implements ResolutionHost, DisplayName {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 29.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReader.java
try { bytes = IOUtils.toByteArray(org.apache.ivy.plugins.parser.m2.PomReader.class.getResourceAsStream("m2-entities.ent")); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } M2_ENTITIES_RESOURCE = bytes; // Set the context classloader the bootstrap classloader, to work around the way that JAXP locates implementation classes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 15:53:23 UTC 2024 - 30K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepository.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java
public boolean isSuccessful() { return false; } @Override public T get() { // TODO Merge back with org.gradle.internal.UncheckedException.throwAsUncheckedException() // once it's extracted from :base-services if (failure instanceof InterruptedException) { Thread.currentThread().interrupt(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java
private Class<?> loadClass(String className) { try { return Class.forName(className, false, junitClassLoader); } catch (ClassNotFoundException e) { throw UncheckedException.throwAsUncheckedException(e); } } private LauncherDiscoveryRequest createLauncherDiscoveryRequest(List<Class<?>> testClasses) { List<DiscoverySelector> classSelectors = testClasses.stream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java
conflictResolver.select(details); T selected = details.getSelected(); if (details.hasFailure()) { throw UncheckedException.throwAsUncheckedException(details.getFailure()); } else { ComponentSelectionDescriptorInternal desc = ComponentSelectionReasons.CONFLICT_RESOLUTION;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 14:22:29 UTC 2023 - 12.2K bytes - Viewed (0)