Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for takeUncaughtException (0.06 sec)

  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())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top