- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 425 for match1 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Test throwing and catching the exception String expectedMessage = "SSO configuration error"; try { throw new SsoProcessException(expectedMessage); } catch (SsoProcessException 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 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
try { Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf"); fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
int expectedStatusCode = 403; String expectedMessage = "Access denied"; try { throw new WebApiException(expectedStatusCode, expectedMessage); } catch (WebApiException e) { assertEquals(expectedStatusCode, e.getStatusCode()); assertEquals(expectedMessage, e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlog/SearchForm.java
if (value <= 0 || value > ComponentUtil.getFessConfig().getPageSearchlogMaxFetchSizeAsInteger()) { return SearchLogPager.DEFAULT_PAGE_SIZE; } return value; } catch (final NumberFormatException e) { // ignore return SearchLogPager.DEFAULT_PAGE_SIZE; } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFailureUrlBhv.java
result.setThreadName(DfTypeUtil.toString(source.get("threadName"))); result.setUrl(DfTypeUtil.toString(source.get("url"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRequestHeaderBhv.java
result.setValue(DfTypeUtil.toString(source.get("value"))); result.setWebConfigId(DfTypeUtil.toString(source.get("webConfigId"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsThumbnailQueueBhv.java
result.setTarget(DfTypeUtil.toString(source.get("target"))); result.setThumbnailId(DfTypeUtil.toString(source.get("thumbnail_id"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsRoleBhv.java
try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get("name"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsClickLogBhv.java
result.setUrl(DfTypeUtil.toString(source.get("url"))); result.setUserSessionId(DfTypeUtil.toString(source.get("userSessionId"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
testTarget.expired(); // If we get here, the method executed successfully assertTrue("expired method executed successfully", true); } catch (Throwable t) { // In test environments, system monitoring may fail due to missing dependencies // or restricted access to system resources. This is acceptable.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0)