Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 473 for captcha (0.04 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            final Exception[] exceptionHolder = new Exception[1];
    
            Thread thread = new Thread(() -> {
                try {
                    clientHolder[0] = new CrawlerEngineClient();
                } catch (Exception e) {
                    exceptionHolder[0] = e;
                }
            });
    
            thread.start();
            thread.join();
    
            assertNull(exceptionHolder[0]);
            assertNotNull(clientHolder[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
                    }
                    throw e;
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
        // Test basic delete operation
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    try {
                        File tempFile = File.createTempFile(prefix, suffix);
                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            }
            if (tempDir != null) {
                Files.walk(tempDir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                    try {
                        Files.delete(path);
                    } catch (IOException e) {
                        // Ignore cleanup errors
                    }
                });
            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

            try {
                // Note: In unit test environment, ComponentUtil may not be fully initialized
                // The improved error handling should catch and log any exceptions
                // without propagating them
                controller.delayForWaitingNewUrl();
            } catch (Exception e) {
                fail("delayForWaitingNewUrl should not throw exceptions: " + e.getMessage());
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
                assertTrue(e.getChildUrlList().isEmpty());
            } catch (Exception e) {
                fail();
            }
        }
    
        @Test
        public void test_processXRobotsTag_noindex() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            getScheduledJob(form).ifPresent(entity -> {
                try {
                    scheduledJobService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            return stemmerOverrideService.getStemmerOverrideFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.stemmerOverrideFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadStemmeroverrideFile(GLOBAL),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top