- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 220 for setMessage (0.19 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private enum OtherOrder { FIRST, SECOND, THIRD; } // Given a sequence of lock acquisition descriptions // (e.g. "LockA -> LockB", "LockB -> LockC", ...) // Checks that the exception.getMessage() matches a regex of the form: // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA" private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private enum OtherOrder { FIRST, SECOND, THIRD; } // Given a sequence of lock acquisition descriptions // (e.g. "LockA -> LockB", "LockB -> LockC", ...) // Checks that the exception.getMessage() matches a regex of the form: // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA" private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
Shorts.checkedCast(value); fail("Cast to short should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
fessConfig.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertEquals("non.existent.property", e.getMessage()); } } // Test isExtensionAllowed method /* // Commented out - methods don't exist in FessConfig public void test_isExtensionAllowed() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("negative [boost] are not allowed")); } } public void test_execute_multipleInvocations() { // Test that multiple invocations return consistent results
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun getHeaders ()Lokhttp3/Headers; public final fun getHeadersDelayNanos ()J public final fun getInTunnel ()Z public final fun getInformationalResponses ()Ljava/util/List; public final fun getMessage ()Ljava/lang/String; public final fun getOnRequestBody ()Lmockwebserver3/SocketEffect; public final fun getOnRequestStart ()Lmockwebserver3/SocketEffect; public final fun getOnResponseBody ()Lmockwebserver3/SocketEffect;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.8K 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 (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/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
try { queryProcessor.execute(context, termQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } public void test_convertPrefixQuery_withDefaultField() throws Exception { QueryContext context = new QueryContext("test", false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0)