Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for SomeCheckedException (0.17 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                throw new SomeCheckedException();
              }
            };
        assertThrows(
            SomeCheckedException.class, () -> Callables.threadRenaming(callable, newName).call());
        assertEquals(oldName, Thread.currentThread().getName());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        AbstractFuture<String> f = new AbstractFuture<String>() {};
        f.set("foo");
        f.addListener(() -> sneakyThrow(new SomeCheckedException()), directExecutor());
      }
    
      private static final class SomeCheckedException extends Exception {}
    
      public void testTrustedGetFailure_completed() {
        SettableFuture<String> future = SettableFuture.create();
        future.set("261");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        AbstractFuture<String> f = new AbstractFuture<String>() {};
        f.set("foo");
        f.addListener(() -> sneakyThrow(new SomeCheckedException()), directExecutor());
      }
    
      private static final class SomeCheckedException extends Exception {}
    
      public void testTrustedGetFailure_completed() {
        SettableFuture<String> future = SettableFuture.create();
        future.set("261");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
Back to Top