- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 66 for throwAsUncheckedException (0.33 sec)
-
platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputReader.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessorFactory.java
return (TestClassProcessor) constructor.newInstance(spec, idGenerator, actorFactory, clock); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java
import org.gradle.internal.time.Timer; import java.io.IOException; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import static org.gradle.internal.UncheckedException.throwAsUncheckedException; /** * Serializes the transient parts of the resolved configuration results. */ public class TransientConfigurationResultsBuilder {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 9.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequestsThenRelease.java
// Wait for a short while to check for unexpected requests try { Thread.sleep(500); } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } doReleaseAction(handler, yetToBeReceived); }); } abstract void doReleaseAction(BlockingHttpServer.BlockingHandler handler, int yetToBeReceived);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputCapturer.java
} public String getOutputAsString() { try { return buffer.toString(outputEncoding); } catch (UnsupportedEncodingException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
FileUtils.deleteQuietly(failedFile); //noinspection ResultOfMethodCallIgnored file.renameTo(failedFile); throw UncheckedException.throwAsUncheckedException(e); } } @Override public void store(HashCode key, IoConsumer<OutputStream> result) { tempFileStore.withTempFile(key, file -> { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/daemon/AbstractDaemonCompiler.java
if (result.isSuccess()) { return result; } else { throw UncheckedException.throwAsUncheckedException(result.getException()); } } protected abstract DaemonForkOptions toDaemonForkOptions(T spec); protected abstract CompilerWorkerExecutor.CompilerParameters getCompilerParameters(T spec);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2.6K bytes - Viewed (0) -
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/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-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)