Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,947 for threw (0.03 sec)

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

        Object two = new Object();
        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
        Object six = new Object();
    
        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
        assertNotified(listener, two, three, RemovalCause.EXPLICIT);
    
        map.put(three, four);
    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. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @Override
      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

         */
        @Test
        @DisplayName("throws SmbException as declared by contract")
        void throwsSmbExceptionFromFilter() {
            SmbFilenameFilter filter = (dir, name) -> {
                throw new SmbException("boom");
            };
    
            SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x"));
            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. docs/features/https.md

    You can build your own connection spec with a custom set of TLS versions and cipher suites. For example, this configuration is limited to three highly-regarded cipher suites. Its drawback is that it requires Android 5.0+ and a similarly current webserver.
    
    ```java
    ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

                updateCalls.add(user);
                if (updateThrowsException) {
                    throw new RuntimeException("Update failed");
                }
            }
    
            @Override
            public void delete(User user) {
                deleteCalls.add(user);
                if (deleteThrowsException) {
                    throw new RuntimeException("Delete failed");
                }
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
                throw new RuntimeException();
              }
            };
        eventBus.register(subscriber);
        eventBus.post(EVENT);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Network.java

       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
       *   - Terminated: runningTasks == 0 and shutdown == true
       */
      @GuardedBy("lock")
      private int runningTasks = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // All three attempts should be made
            verify(filter, times(3)).accept(resource);
            // All three should be closed
            verify(resource, times(3)).close();
        }
    
        @Test
        @DisplayName("Adapter throwing MalformedURLException on all entries")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
       *   - Terminated: runningTasks == 0 and shutdown == true
       */
      @GuardedBy("lock")
      private int runningTasks = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top