- Sort Score
- Result 10 results
- Languages All
Results 1781 - 1790 of 1,947 for threw (0.76 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
PUNYCODE, /** This code point is special and should not be tested. */ SKIP, ; open fun encode(codePoint: Int): String = throw UnsupportedOperationException() } enum class Component { USER { override fun urlString(value: String): String = "http://$******@****.***/"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* state other than that in the key. * * <p><b>Warning:</b> as with {@link CacheLoader#load}, {@code loader} <b>must not</b> return * {@code null}; it may either return a non-null value or throw an exception. * * <p>No observable state associated with this cache is modified until loading completes. * * @throws ExecutionException if a checked exception was thrown while loading the value
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
// creation cost. @CanIgnoreReturnValue static Object checkElementNotNull(@Nullable Object element, int index) { if (element == null) { throw new NullPointerException("at index " + index); } return element; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
*/ public Integer echo(final Integer arg) { return arg; } /** * */ public void throwException() { throw new IllegalStateException("hoge"); } } /** * */ public class MyBean2 { /** * */ public MyBean2() { }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals(flags, header.getFlags()); assertEquals(testSessionId, header.getSessionId()); } @Test @DisplayName("Should throw exception for invalid nonce in constructor") void testConstructorWithInvalidNonce() { // Given byte[] invalidNonce = new byte[10]; // Wrong size // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
doNothing().when(mockSession).close(); assertDoesNotThrow(() -> { mockSession.close(); mockSession.close(); }, "Multiple close() calls should not throw exceptions"); verify(mockSession, times(2)).close(); } @Test @DisplayName("Should handle close with exception gracefully")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override Collection<V> createValues() { return new FilteredMultimapValues<>(this); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(); } @Override Set<K> createKeySet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* body will be discarded before trailers are returned. * * If [Call.cancel] is called while this is blocking, this call will immediately throw. * * @throws IllegalStateException if the response is closed. * @throws IOException if the trailers cannot be loaded, such as if the network connection is * dropped. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
return converter.getAsObject((String) value); } return converter.getAsString(value); } catch (final Throwable cause) { throw new ConverterRuntimeException(destPropertyName, value, cause); } } /** * Finds the converter corresponding to the class. * * @param clazz * The class
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(3, notifications.get(2).getAction()); assertEquals("file3", notifications.get(2).getFileName()); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 }) void testInvalidStructureSize(int structureSize) { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)