- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 193 for throwAsUncheckedException (0.48 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/ConsoleRenderer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.5K 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) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
setState(State.Unblocking, State.Failed); throw UncheckedException.throwAsUncheckedException(e); } finally { setBlockingThread(null); } } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e); } } private ThreadHandle getBlockingThread() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 23.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
try { return object.getClass().getMethod("toString").getDeclaringClass() == Object.class; } catch (java.lang.NoSuchMethodException e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Resolves the return type of a method in a given class. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java
public T call() { return createResourceLock(key, producer); } }); } catch (ExecutionException e) { throw UncheckedException.throwAsUncheckedException(e); } } private T createResourceLock(final K key, final AbstractResourceLockRegistry.ResourceLockProducer<K, T> producer) { return producer.create(key, coordinationService, owner); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyModuleDescriptorConverter.java
DEPENDENCY_CONFIG_FIELD.setAccessible(true); } catch (NoSuchFieldException e) { throw UncheckedException.throwAsUncheckedException(e); } } private final ImmutableModuleIdentifierFactory moduleIdentifierFactory; public IvyModuleDescriptorConverter(ImmutableModuleIdentifierFactory moduleIdentifierFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java
private void cleanupOutputDir() { try { FileUtils.deleteDirectory(getOutputsDir()); getOutputsDir().mkdir(); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } private List<ExecutionOutput> getOutputFiles() { List<ExecutionOutput> outputFiles = new ArrayList<>(); for (File executionDir : getOutputsDir().listFiles()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0)