Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for setUncaughtExceptionHandler (0.11 seconds)

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

              });
        }
      }
    
      private void invokeOnExecutionThreadForTest(Runnable runnable) {
        executionThread = new Thread(runnable);
        executionThread.setUncaughtExceptionHandler(
            (thread, throwable) -> thrownByExecutionThread = throwable);
        executionThread.start();
      }
    
      private static void throwIfSet(Throwable t) throws Throwable {
        if (t != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

              });
        }
      }
    
      private void invokeOnExecutionThreadForTest(Runnable runnable) {
        executionThread = new Thread(runnable);
        executionThread.setUncaughtExceptionHandler(
            (thread, throwable) -> thrownByExecutionThread = throwable);
        executionThread.start();
      }
    
      private static void throwIfSet(Throwable t) throws Throwable {
        if (t != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        List<Thread> threads = new ArrayList<>(numThreads);
        List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
          Thread thread = new Thread(task);
          thread.setUncaughtExceptionHandler((t, throwable) -> exceptions.add(throwable));
          threads.add(thread);
        }
        for (Thread t : threads) {
          t.start();
        }
        for (Thread t : threads) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top