Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for gracefully (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setObject_withNullName() {
            // Test setObject with null name
            try {
                WebApiUtil.setObject(null, "testValue");
            } catch (Exception e) {
                fail("setObject should handle null name gracefully: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                }
    
                @Override
                public <T> T unwrap(Class<T> type) {
                    return null;
                }
            };
    
            // Should handle exception gracefully and still return result
            assertEquals("1TestUser", sambaHelper.getAccountId(exceptionSID));
        }
    
        // Helper methods
    
        private SID createMockSID(final int type, final String accountName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                fail("writeThreadDump should handle invalid paths gracefully: " + e.getMessage());
            }
        }
    
        public void test_writeThreadDump_withNullPath() {
            try {
                ThreadDumpUtil.writeThreadDump(null);
                // Should not throw exception but log warning
            } catch (Exception e) {
                fail("writeThreadDump should handle null path gracefully: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                }
    
                setupMockConfig("localhost:9200", "", "", invalidCertFile.getAbsolutePath());
    
                curlHelper.init();
    
                // Should handle invalid certificate gracefully
                SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
                assertNull(sslSocketFactory);
    
            } catch (IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            ComponentUtil.setFessConfig(fessConfig);
    
            // Create new instance after registering the updated config
            purgeDocJob = new PurgeDocJob();
    
            // Execute the job - should handle empty field name gracefully
            try {
                String result = purgeDocJob.execute();
                // The job should handle the exception internally but since QueryBuilders.rangeQuery
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
                // Should handle null keywords gracefully
                assertNotNull(functionBuilders);
            } catch (Exception e) {
                // May throw exception due to null handling
                assertNotNull(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        }
    
        public void test_highlightedFields_withNull() {
            queryFieldConfig.highlightedFields = null;
    
            // When highlightedFields is null, the method should handle it gracefully
            // or throw an exception. Test the actual behavior.
            queryFieldConfig.highlightedFields(stream -> {
                // If it doesn't throw NPE, it should provide an empty stream
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

    OkHttp 4.x Change Log
    =====================
    
    ## Version 4.12.0
    
    _2023-10-16_
    
     *  Fix: Don't hang taking headers for HTTP 103 responses.
    
     *  Fix: Recover gracefully when a cache entry's certificate is corrupted.
    
     *  Fix: Fail permanently when there's a failure loading the bundled public suffix database.
        This is the dataset that powers `HttpUrl.topPrivateDomain()`.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      /**
       * Provides a check of whether an exception type is valid for use with {@link
       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      private static final class GetCheckedTypeValidatorHolder {
        static final GetCheckedTypeValidator BEST_VALIDATOR = getBestValidator();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertNotNull(result);
        }
    
        public void test_getMatchedLabelValueSet_nullPath() {
            try {
                labelTypeHelper.getMatchedLabelValueSet(null);
                fail("Should handle null path gracefully or throw appropriate exception");
            } catch (Exception e) {
                // Expected behavior for null path
                assertNotNull(e);
            }
        }
    
        public void test_buildLabelTypeItems() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top