- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 193 for throwAsUncheckedException (0.35 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/RedirectStdinExtension.groovy
try { stdinPipe = new PipedOutputStream(emulatedSystemIn); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } } private void closePipe() { CompositeStoppable.stoppable(stdinPipe, emulatedSystemIn).stop(); stdinPipe = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java
logFile.createNewFile(); this.logOutputStream = new BufferedOutputStream(new FileOutputStream(logFile)); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } buildOperationListenerManager.addListener(listener); } private static String getProperty(StartParameter startParameter, String property) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 23.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java
try { controller.close(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } throw new IllegalStateException("Build cache controller already set"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:28:13 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
throw new PropertyQueryException(String.format("Failed to query the value of %s.", displayName), e); } else { throw UncheckedException.throwAsUncheckedException(e); } } } } @Override public void attachOwner(@Nullable ModelObject owner, DisplayName displayName) { this.displayName = displayName; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java
return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment()); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Add a trailing slash to the given URI's path if necessary. * * @param uri the original URI
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 14:13:12 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java
try (EvaluationContext.ScopeContext ignored = openScope()) { return Value.ofNullable(value.call()); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 23:22:41 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildTriggerHandler.java
if (!cancellationToken.isCancellationRequested()) { continuousExecutionGate.waitForOpen(); } } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } finally { cancellationToken.removeCallback(cancellationHandler); } } public boolean hasBeenTriggered() { return changeArrived; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcDetector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 2.8K bytes - Viewed (0) -
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)