- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 217 for throwAsUncheckedException (0.28 sec)
-
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) -
subprojects/core/src/main/java/org/gradle/util/internal/RelativePathUtil.java
try { return TextUtil.normaliseFileSeparators(from.toPath().relativize(to.toPath()).toString()); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 1.2K 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-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/DefaultIsolatedAntBuilder.java
try { return antAdapterLoader.loadClass(className).getConstructor().newInstance(); } catch (Exception e) { // should never happen throw UncheckedException.throwAsUncheckedException(e); } } // We *absolutely* need to avoid polluting the project with ClassInfo from *our* classloader
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 02 18:37:54 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
MISSING_METHOD_METHOD = MetaClassImpl.class.getDeclaredField("methodMissing"); MISSING_METHOD_METHOD.setAccessible(true); } catch (Exception e) { throw UncheckedException.throwAsUncheckedException(e); } } public BeanDynamicObject(Object bean) { this(bean, null, true, true, StringToEnumTransformer.INSTANCE, StringToEnumTransformer.INSTANCE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 29.3K 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/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)