- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,693 for threw (0.03 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental public class ProjectBuilderException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link Prompter} service. * * @since 4.0.0 */ @Experimental public class PrompterException extends MavenException { @Serial private static final long serialVersionUID = -3505070928479515081L;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManagerException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ToolchainManager}. * * @since 4.0.0 */ @Experimental public class ToolchainManagerException extends MavenException { @Serial
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
return null } override fun contentLength(): Long { return Int.MAX_VALUE + 1L } override fun source(): BufferedSource { throw AssertionError() } } assertFailsWith<IOException> { body.bytes() }.also { expected -> assertThat(expected.message).isEqualTo(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
Request( url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java
extends SortedMapInterfaceTest<K, V> { public AbstractImmutableSortedMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected SortedMap<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner joiner = Joiner.on(", "); @Override protected void assertMoreInvariants(Map<K, V> map) { // TODO: can these be moved to MapInterfaceTest?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ExplicitOrdering.java
public int compare(T left, T right) { return rank(left) - rank(right); // safe because both are nonnegative } private int rank(T value) { Integer rank = rankMap.get(value); if (rank == null) { throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof ExplicitOrdering) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
AbstractImmutableBiMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) { BiMap<K, V> bimap = (BiMap<K, V>) map;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ExplicitOrdering.java
public int compare(T left, T right) { return rank(left) - rank(right); // safe because both are nonnegative } private int rank(T value) { Integer rank = rankMap.get(value); if (rank == null) { throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof ExplicitOrdering) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0)