Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RuntimeException (0.5 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          throw new RuntimeException(e);
        }
    
        map.cleanUp(); // force notifications
        assertTrue(listener.isEmpty());
        assertTrue(map.containsKey(one));
        assertEquals(1, map.size());
        assertSame(computedObject, map.get(one));
      }
    
      public void testRemovalListenerCheckedException() {
        RuntimeException e = new RuntimeException();
        RemovalListener<Object, Object> listener =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                                                Integer.toHexString(requestedState));
                                    }
                                }
                            }
                        } catch (RuntimeException e) {
                            if (log.isDebugEnabled()) {
                                log.debug("Failed to add lease context for {}, continuing without leases: {}", uncPath, e.getMessage());
                            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            this(new URL(null, url, Handler.SMB_HANDLER), auth);
            if ((shareAccess & ~(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE)) != 0) {
                throw new RuntimeException("Illegal shareAccess parameter");
            }
            this.shareAccess = shareAccess;
        }
    
        /**
         * Constructs an SmbFile representing a resource on an SMB network such
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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