Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 536 for match2 (0.03 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            val start = lines.indexOfFirst {
                Regex("\\s+computedRuntimes\\s+\\{").matches(it)
            }
            if (start == -1) {
                return BuildFileMutation.Failure("Missing computedRuntimes block for $projectPath: ${buildFile.asClickableFileUrl()}")
            }
    
            val end = lines.indexOfFirst(start + 1) {
                Regex("\\s+}").matches(it)
            }
            if (end == -1) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                // The job should handle the exception internally but since QueryBuilders.rangeQuery
                // throws immediately with empty field name, we need to catch it here
                fail("Expected an exception for empty field name");
            } catch (IllegalArgumentException e) {
                // Expected exception for empty field name
                assertTrue(e.getMessage().contains("field name is null or empty"));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

            } catch (final LlmException e) {
                caught = true;
                assertEquals("Test exception", e.getMessage());
            }
            assertTrue(caught);
        }
    
        @Test
        public void test_catchAsFessSystemException() {
            boolean caught = false;
            try {
                throw new LlmException("Test exception");
            } catch (final FessSystemException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                        method.setAccessible(true);
                        method.invoke(this);
                    } catch (Exception e) {
                        // Expected to catch exception silently
                    }
                }
            };
    
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

    /**
     * Form class for creating new elevate word configuration entries.
     * This form handles the creation of elevate word rules that boost
     * specific documents in search results when certain keywords are matched.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            // Test throwing and catching PluginException
            String expectedMessage = "Plugin loading failed";
    
            try {
                throw new PluginException(expectedMessage);
            } catch (PluginException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        @Test
        public void test_throwAndCatchWithCause() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        }
                    }
                } catch (final ClassNotFoundRuntimeException e) {
                    logger.debug("{}.{}.Handler does not exist.", basePackage, protocol, e);
                } catch (final NoSuchFieldRuntimeException e) {
                    logger.debug("{}.{}.Handler does not contain PROTOCOL_TYPE.", basePackage, protocol);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadBadwordFile(GLOBAL), this::asDownloadHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

                intervalControlHelper.delayByRules();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to apply interval control rules", e);
                }
            }
    
            try {
                super.delayForWaitingNewUrl();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
        public void test_getJobExecutor_withoutSuffix() {
            try {
                ComponentUtil.getJobExecutor("test");
                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top