- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 217 for throwAsUncheckedException (0.62 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
try { return cache.get(source).newInstance(source); } catch (ExecutionException e) { throw UncheckedException.throwAsUncheckedException(e); } catch (UncheckedExecutionException e) { throw UncheckedException.throwAsUncheckedException(e.getCause()); } } private <T> CachedRuleSource doExtract(final Class<T> source) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java
while (this.requestsStarted < requestCount) { try { condition.await(); } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } } } finally { lock.unlock(); } } private static class RequestOutcome { final Lock lock;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilder.java
import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import static org.gradle.internal.UncheckedException.throwAsUncheckedException; public class StreamingResolutionResultBuilder implements DependencyGraphVisitor { private final static byte ROOT = 1; private final static byte COMPONENT = 2; private final static byte SELECTOR = 4;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/DefaultGitVersionControlSpec.java
try { setUrl(new URI(url)); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } } @Override public String getDisplayName() { return "Git repository at " + getUrl(); } @Override public String getUniqueId() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DistributionInstaller.java
if (failure != null) { if (failure instanceof Exception) { throw (Exception) failure; } throw UncheckedException.throwAsUncheckedException(failure); } } private long withProgressLogging(URI address, File destination, OperationDescriptor operationDescriptor) throws Throwable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaReflectionUtil.java
constructor.setAccessible(true); return constructor.newInstance(); } catch (Throwable e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Returns the {@link TypeToken} of a parameter specified by index. * * @param beanType the TypeToken of the bean
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/deployment/internal/DefaultContinuousExecutionGate.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java
try { operationsComplete.await(); } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } } markFinished(); } finally { lock.unlock(); } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 31 15:18:20 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.3K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenBuildExperimentRunner.java
scenarioInvoker.run(scenarioDefinition, invocationSettings, resultConsumer); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } finally { try { Logging.resetLogging(); } catch (IOException e) { e.printStackTrace(); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.5K bytes - Viewed (0)