- Sort Score
- Result 10 results
- Languages All
Results 2451 - 2460 of 2,742 for throws (0.17 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation); } catch (URISyntaxException e) { throw new RuntimeException(e); } } private static DokkatooExtension getDokkatooExtension(Project project) { return project.getExtensions().getByType(DokkatooExtension.class); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
exception = new RuntimeException(e); scrollId = null; } } docCount.getAndAdd(queue.size()); if (exception != null) { throw exception; } } protected static long getLimitDocNum(final long total, final long limitPercentage, final long limitNumber) { final long percentNum = (long) (total * (limitPercentage / 100f));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
assertThat(t3).isCloseTo(1750.0, 250.0) } @Test fun taskFailsWithUncheckedException() { queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(100)) { log.put("failing task running") throw RuntimeException("boom!") } queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(200)) { log.put("normal task running") return@schedule -1L }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
} } private fun getByIp(host: String): InetAddress { return try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAdd_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
return RepositoryPolicy.CHECKSUM_POLICY_IGNORE; case RepositoryPolicy.CHECKSUM_POLICY_WARN: return RepositoryPolicy.CHECKSUM_POLICY_WARN; default: throw new IllegalArgumentException("unknown repository checksum policy: " + artifactRepositoryPolicy); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
} @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
* under the License. */ package org.apache.maven.model.building; /** * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits * the problem. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
* under the License. */ package org.apache.maven.settings.building; /** * Describes a problem that was encountered during settings building. A problem can either be an exception that was * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file * that exhibits the problem. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0)