- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 289 for UnsupportedOperationException (0.1 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
when (val protocol = sslSocket.applicationProtocol) { null, "" -> null else -> protocol } } catch (e: UnsupportedOperationException) { // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol-- null } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-29 16:52 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getMap().remove(k0(), v0())); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedAbsent() { try { assertFalse(getMap().remove(k0(), v3())); } catch (UnsupportedOperationException tolerated) {
Registered: 2025-05-30 12:43 - Last Modified: 2024-10-31 14:51 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
List<V> values = singletonList(v3()); assertThrows(UnsupportedOperationException.class, () -> multimap().replaceValues(k0(), values)); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceValuesPutNotSupported() { List<V> values = singletonList(v3()); assertThrows(UnsupportedOperationException.class, () -> multimap().replaceValues(k0(), values)); }
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-12 15:07 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException) .put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow();
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-22 03:38 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
/* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAddAtIndex_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e0())); expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_supportedNotPresent() { getList().add(0, e3());
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
public boolean checkUserLoginable(final LoginCredential credential) { throw new UnsupportedOperationException("checkUserLoginable is not supported."); } @Override protected void checkCredential(final TypicalLoginAssist<String, FessUserBean, FessUser>.CredentialChecker checker) { throw new UnsupportedOperationException("checkCredential is not supported."); } @Override
Registered: 2025-05-26 08:04 - Last Modified: 2025-03-15 06:53 - 7.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
fail("Expected UnsupportedOperationException or NullPointerException."); } catch (UnsupportedOperationException | NullPointerException e) { // Expected. } assertInvariants(map); try { entrySet.addAll(singleton((Entry<K, V>) entryToAdd)); fail("Expected UnsupportedOperationException or NullPointerException."); } catch (UnsupportedOperationException | NullPointerException e) {
Registered: 2025-05-30 12:43 - Last Modified: 2025-02-11 21:04 - 43.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 18:46 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
fail(message); } catch (UnsupportedOperationException expected) { } } private void expectReturnsFalseOrThrows(Target target) { String message = Platform.format("retainAll(%s) should return false or throw", target); try { assertFalse(message, collection.retainAll(target.toRetain)); } catch (UnsupportedOperationException tolerated) { } }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
} override fun priority( streamId: Int, streamDependency: Int, weight: Int, exclusive: Boolean, ): Unit = throw UnsupportedOperationException() override fun pushPromise( streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) { this.type = Http2.TYPE_PUSH_PROMISE
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 8.7K bytes - Viewed (0)