Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        // Test setDefaultUncaughtExceptionHandler
        @Test
        public void test_setDefaultUncaughtExceptionHandler() {
            final Thread.UncaughtExceptionHandler originalHandler = Thread.getDefaultUncaughtExceptionHandler();
            try {
                final Thread.UncaughtExceptionHandler handler = (t, e) -> {};
                IndexUpdater.setDefaultUncaughtExceptionHandler(handler);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param eh the default uncaught exception handler to set
         */
        public static void setDefaultUncaughtExceptionHandler(final UncaughtExceptionHandler eh) {
            Thread.setDefaultUncaughtExceptionHandler(eh);
        }
    
        /**
         * Sets the maximum number of indexer errors allowed.
         *
         * @param maxIndexerErrorCount the maximum error count to set
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        testName = context.displayName
    
        beforeEach()
      }
    
      private fun beforeEach() {
        defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler()
        Thread.setDefaultUncaughtExceptionHandler { _, throwable ->
          initUncaughtException(throwable)
        }
    
        taskQueuesWereIdle = TaskRunner.INSTANCE.activeQueues().isEmpty()
    
        applyLogger {
          addHandler(testLogHandler)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top