- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 519 for setMessage (0.07 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /** * Test class with valid equals and hashCode methods. Testers created with instances of this class
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
try { urlFilterService.addIncludeUrlFilter(sessionId, emptyList); } catch (final Exception e) { fail("Should not throw exception for empty list: " + e.getMessage()); } // Since no items were added, the pattern list should be empty final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertNotNull("Response should not be null", result); assertEquals(200, result.getHttpStatusCode()); } catch (Exception e) { fail("Should not throw exception: " + e.getMessage()); } // Test without timeout (null accessTimeout) client.setAccessTimeout(null); try { ResponseData result = client.doGet("file://test.txt");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
for (ModelProblem problem : problems) { writer.print("["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); writer.print(" @ "); writer.println(ModelProblemUtils.formatLocation(problem, modelId)); } return buffer.toString(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
try { deferred.promise().getResponse(10, TimeUnit.SECONDS); fail(); } catch (SuggesterException e) { assertEquals("An error occurred during the deferred computation.", e.getMessage()); } }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999)); assertTrue(exception.getMessage().contains("Unsupported information level")); } @Test void testToString() { trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
for (int i = 0; i < 10; i++) { try { setupGcsClient(bucketName, endpoint); break; } catch (final Exception e) { logger.warn("[{}] {}", i + 1, e.getMessage()); } ThreadUtil.sleep(1000L); } } private void setupGcsClient(String bucketName, String endpoint) throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
/** * Returns the message. * * @param messageCode * Message code * @param args * Arguments * @return Message */ public static String getMessage(final String messageCode, final Object... args) { return getFormattedMessage(messageCode == null ? "" : messageCode, getSimpleMessage(messageCode, args)); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
} } try { repoSystem.install(session, request); } catch (InstallationException e) { throw new ArtifactInstallationException(e.getMessage(), e); } /* * NOTE: Not used by Maven core, only here to provide backward-compat with plugins like the Install Plugin. */ if (artifact.isSnapshot()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0)