- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 447 for getMessages (0.07 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl bad = locator("smb://badhost/"); CIFSException ex = assertThrows(CIFSException.class, bad::getAddress); assertTrue(ex.getMessage().contains("Failed to lookup address")); } @Test @DisplayName("hashCode/equals based on address or server fallback") void testEqualsAndHashCode() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
try { manager.process(request, response, chain); fail("Expected ServletException"); } catch (ServletException e) { assertEquals("Test error", e.getMessage()); } } public void test_process_withNullParameters() throws IOException, ServletException { // Test null parameter handling
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
if (logger.isDebugEnabled()) { logger.debug(msg); } throw new SsoLoginException(e.getMessage() + " " + msg, e); } // context/auth loop not yet complete final boolean status = spnegoResponse.isStatusSet(); if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 17.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals("xyz", getIdMethod.invoke(crawlingConfigHelper, "Dxyz")); } catch (Exception e) { fail("Failed to test getId method: " + e.getMessage()); } } public void test_getCrawlingConfig_cacheExceptionHandling() { // Register a service that throws exception ComponentUtil.register(new WebConfigService() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 34.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
* * @param key the message key * @param defaultValue the default value to return if message not found * @return localized message or default value */ public static String getMessage(final String key, final String defaultValue) { final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("payload() return type should be Class[]", Class[].class, payloadMethod.getReturnType()); } catch (final NoSuchMethodException e) { fail("Required annotation method not found: " + e.getMessage()); } } // Test creating custom implementation of annotation public void test_customAnnotationImplementation() { final UriType customAnnotation = new UriType() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> request.writeBytesWireFormat(smallBuffer, 0)); assertTrue(exception.getMessage().contains("Data exceeds buffer size")); } @Test @DisplayName("Should write data at correct offset in buffer") void testDataOffsetCalculation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
} } catch (final Exception e) { throwError.accept(messages -> messages.addErrorsCrudFailedToUpdateCrudTable(GLOBAL, e.getMessage())); } } // =================================================================================== // JSP
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
field.setAccessible(true); return field.getLong(null); } catch (Exception e) { fail("Failed to get serialVersionUID: " + e.getMessage()); return -1; } } // Test error message methods without parameters public void test_addErrorsFrontHeader() { String property = "testProperty";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
return; } try { transport.wait(); } catch (final InterruptedException ie) { throw new SmbException(ie.getMessage(), ie); } } connectionState = 1; // trying ... try { transport.connect(); /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)