- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 619 for getMessage (0.59 seconds)
-
android/guava-tests/test/com/google/common/primitives/IntsTest.java
Ints.checkedCast(value); fail("Cast to int should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
tearDownStack.runTearDown(); } @Override public void runBare() throws Throwable { try { super.runBare(); } catch (AssertionError e) { if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) { // Rerun test to work around Marshamallow class-loading issue b/456222735. super.runBare(); return; } throw e; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Should handle empty notification list") void testEmptyNotificationList() throws Exception { // Given byte[] buffer = new byte[256];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
engineObj.status = response.getStatus().name().toLowerCase(Locale.ROOT); } catch (final Exception e) { engineObj.status = "red"; engineObj.exception = e.getMessage(); } return engineObj; } /** * Data transfer object representing filesystem statistics. */ public static class FsObj { /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("maxKey() return type should be String", String.class, maxKeyMethod.getReturnType()); } catch (final NoSuchMethodException e) { fail("Required annotation method not found: " + e.getMessage()); } } // Test creating custom implementation of annotation @Test public void test_customAnnotationImplementation() { final CustomSize customAnnotation = new CustomSize() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
void dfsReferrals_invalidPath() { CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1)); assertTrue(ex.getMessage().contains("double slash")); } @Nested @MockitoSettings(strictness = Strictness.LENIENT) class PreauthHashAndEncryption { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
assertNotNull(response); } catch (SuggestIndexException e) { // Expected for invalid query assertNotNull(e.getMessage()); } } @Test public void test_indexFromQueryLogWithSpecialCharacters() throws Exception { SuggestSettings settings = suggester.settings();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
try { charMappingFile.update(updateItem2); fail("Should throw DictionaryException"); } catch (DictionaryException e) { assertTrue(e.getMessage().contains("Mapping file was updated")); } } // Test reload with IOException @Test public void test_reload_ioException() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java
.stream(); } catch (OpenSearchStatusException | IllegalStateException e) { final String msg = e.getMessage(); if (StringUtil.isNotEmpty(msg) && msg.contains("index.analyze.max_token_count")) { logger.warn("Failed to parse document (token count exceeded): index={}, message={}", index, msg);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 21.7K bytes - Click Count (0)