Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for takeUncaughtException (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        assertThat(exception.cause)
          .isNotNull()
          .matchesPredicate { it is InterruptedException || it is RejectedExecutionException }
        assertThat(clientTestRule.takeUncaughtException())
          .matchesPredicate { it == null || it is RejectedExecutionException }
      }
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top