Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setUncaughtExceptionHandler (0.26 sec)

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            assertEquals(0L, indexUpdater.getDocumentSize());
        }
    
        // Test setUncaughtExceptionHandler
        public void test_setUncaughtExceptionHandler() {
            final AtomicBoolean handlerCalled = new AtomicBoolean(false);
            final Thread.UncaughtExceptionHandler handler = (t, e) -> handlerCalled.set(true);
    
            indexUpdater.setUncaughtExceptionHandler(handler);
            assertSame(handler, indexUpdater.getUncaughtExceptionHandler());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

                try {
                  cacheRef.get().getUnchecked(3);
                } finally {
                  doneSignal.countDown();
                }
              }
            };
        thread.setUncaughtExceptionHandler(
            new UncaughtExceptionHandler() {
              @Override
              public void uncaughtException(Thread t, Throwable e) {}
            });
        thread.start();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          new Executor() {
            @Override
            public void execute(Runnable command) {
              executionThread = new Thread(command);
              executionThread.setUncaughtExceptionHandler(
                  new UncaughtExceptionHandler() {
                    @Override
                    public void uncaughtException(Thread thread, Throwable e) {
                      thrownByExecutionThread = e;
                    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param eh the uncaught exception handler to set
         */
        @Override
        public void setUncaughtExceptionHandler(final UncaughtExceptionHandler eh) {
            super.setUncaughtExceptionHandler(eh);
        }
    
        /**
         * Sets the default uncaught exception handler for all threads.
         *
         * @param eh the default uncaught exception handler to set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. android/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(
              new UncaughtExceptionHandler() {
                @Override
                public void uncaughtException(Thread t, Throwable e) {
                  exceptions.add(e);
                }
              });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. 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(
              new UncaughtExceptionHandler() {
                @Override
                public void uncaughtException(Thread t, Throwable e) {
                  exceptions.add(e);
                }
              });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top