Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 570 for hatch (0.01 seconds)

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

        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String message = "Throw and catch test";
    
            try {
                throw new SearchEngineClientException(message);
            } catch (SearchEngineClientException e) {
                assertEquals(message, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                    haveValue = true;
                } catch (final Exception e) {}
            }
            if (!haveValue) {
                try {
                    value = item.getString(Charset.forName("ISO-8859-1"));
                } catch (final java.io.UnsupportedEncodingException uee) {
                    try {
                        value = item.getString();
                    } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
                            // Ignore close exception
                        }
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                }
    
            } catch (final LlmException e) {
                // LlmException from streamChatEnhanced already sent onError via callback - avoid double-send
                logger.warn("LLM error during stream request. sessionId={}, errorCode={}, message={}", sessionId, e.getErrorCode(),
                        e.getMessage(), e);
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            String expectedMessage = "LDAP authentication failed";
            try {
                throw new LdapOperationException(expectedMessage);
            } catch (LdapOperationException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught LdapOperationException");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            // Execute and expect IOException
            try {
                webApiFilter.doFilter(request, response, chain);
                fail("Expected IOException");
            } catch (IOException e) {
                assertEquals("Test IOException", e.getMessage());
            } catch (ServletException e) {
                fail("Unexpected ServletException: " + e.getMessage());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("scheduledJob parameter is null. Cannot register a null job.", e.getMessage());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                        entity.start(Map.of(Constants.JOB_LOG_ID, jobLogId[0]));
                    } else {
                        entity.start();
                    }
                } catch (final Exception e) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
            }).orElse(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    if (!task.isExecuted()) {
                        task.run();
                    }
                }
            } catch (final InterruptedException e) {
                logger.warn("Interrupted generating thumbnail: id={}, command={}", thumbnailId, cmdList, e);
                Thread.currentThread().interrupt();
            } catch (final Exception e) {
                logger.warn("Failed to generate thumbnail: id={}, command={}", thumbnailId, cmdList, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/color.js

    d=4===a.length||7===a.length;if(d){var e=/[0-9a-f]/i,f=a.slice(1).split(""),g=!0;return f.forEach(function(a){null===a.match(e)&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c=a.replace(/ /g,""),d=/\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)/i;if(c.match(d)){var e=c.replace(/\(/g,"").replace(/\)/g,""),f=e.split(","),g=!0;return f.forEach(function(a){var b=p...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.8K bytes
    - Click Count (0)
Back to Top