- Sort Score
- Num 10 results
- Language All
Results 2371 - 2380 of 3,670 for throwIf (0.11 seconds)
-
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
HashMap.class, Appendable.class, StringBuilder.class, StringBuffer.class, Throwable.class, Exception.class); } public void testGet_io() throws IOException { assertEquals(-1, ArbitraryInstances.get(InputStream.class).read()); assertEquals(-1, ArbitraryInstances.get(ByteArrayInputStream.class).read());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
* .build() * ``` */ @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead") class JavaNetAuthenticator : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* called by readers. */ public interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ public val contentLength: Long @Throws(IOException::class) public fun writeTo(sink: BufferedSink)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertTrue(foundTestMethod); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) { assertEquals(message, e.getMessage()); assertNull(e.getCause()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
int i; @Override public boolean hasNext() { return i < array.length; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); } return array[i++]; } @Override public boolean hasPrevious() { return i > 0; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
int i; @Override public boolean hasNext() { return i < array.length; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); } return array[i++]; } @Override public boolean hasPrevious() { return i > 0; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheRequest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 769 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); ComponentUtil.register(new SystemHelper(), "systemHelper"); apiFailureHook = new FessApiFailureHook(); originalFessConfig = ComponentUtil.getFessConfig(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { if (originalFessConfig != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.2K bytes - Click Count (0)