- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 138 for throwAsUncheckedException (0.68 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/MethodHandleBasedServiceMethod.java
public Object invoke(Object target, @Nullable Object... args) { try { return method.bindTo(target).invokeWithArguments(args); } catch (Throwable e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 17 11:08:22 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/deployment/internal/SimpleBlockingDeployment.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 23 18:00:07 UTC 2022 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/internal/GeneratedSubclasses.java
try { return (Class<?>) type.getMethod("generatedFrom").invoke(null); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } return type; } public static Class<?> unpackType(Object object) { if (object instanceof GeneratedSubclass) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TestResultHandler.groovy
throw new AssertionError("Timeout waiting for operation to complete.") } } def failWithFailure() { if (failure) { throw UncheckedException.throwAsUncheckedException(BlockingResultHandler.attachCallerThreadStackTrace(failure)) } } def assertNoFailure() { if (failure == null) { return true } else { throw failure
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/DefaultKeyServers.java
uri("https://pgp.mit.edu") ); private static URI uri(String uri) { try { return new URI(uri); } catch (URISyntaxException e) { throw UncheckedException.throwAsUncheckedException(e); } } public static List<URI> getOrDefaults(List<URI> uris) { if (uris.isEmpty()) { return DEFAULT_KEYSERVERS; } return uris; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.5K bytes - Viewed (0) -
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/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)