- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for takeException (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
assertThat(recordedResponse.failure, "canceled due to java.lang.RuntimeException: boom!") assertThat(recordedResponse.failure?.cause).isEqualTo(boom) assertThat(call.isCanceled()).isTrue() assertThat(executor.takeException()).isEqualTo(boom) } @Test fun networkInterceptorReturnsConnectionOnEmptyBody() { server.enqueue( MockResponse .Builder() .onResponseEnd(ShutdownConnection)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0)