Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 364 of 364 for RuntimeException (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      @GuardedBy("lock")
      private boolean isSatisfied(Guard guard) {
        try {
          return guard.isSatisfied();
        } catch (Throwable throwable) {
          // Any Exception is either a RuntimeException or sneaky checked exception.
          signalAllWaiters();
          throw throwable;
        }
      }
    
      /** Signals all threads waiting on guards. */
      @GuardedBy("lock")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      @Test
      fun unexpectedExceptionSync() {
        client =
          client
            .newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
        server.enqueue(MockResponse())
        assertFailsWith<RuntimeException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo("boom!")
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                   * `AutoCloseable`.
                   *
                   * In guava-android, the only kinds of Exception that may be thrown are
                   * RuntimeException and IOException because `closeable` has type `Closeable`—except
                   * that we have to account for sneaky checked exception.
                   */
                  restoreInterruptIfIsInterruptedException(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

                   * `AutoCloseable`.
                   *
                   * In guava-android, the only kinds of Exception that may be thrown are
                   * RuntimeException and IOException because `closeable` has type `Closeable`—except
                   * that we have to account for sneaky checked exception.
                   */
                  restoreInterruptIfIsInterruptedException(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
Back to top