- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 469 for setMessage (0.05 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
} catch (RepositoryMetadataReadException e) { if (getLogger().isDebugEnabled()) { getLogger().warn(e.getMessage(), e); } else { getLogger().warn(e.getMessage()); } return setRepository; } if (repoMetadata.isSnapshot() && (previousMetadata != null)) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange & Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause); assertEquals(url, exception.getUrl()); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertFalse(exception.aborted()); } public void test_constructor_withUrlMessageExceptionAndAbortTrue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertTrue(exception.getMessage().contains("FILE_EXISTS")); assertTrue(exception.getMessage().contains("File already exists")); assertTrue(exception.getMessage().contains("document.pdf already exists")); // Without custom message exception = new SmbOperationException(SmbOperationException.ErrorCode.DISK_FULL, null); assertTrue(exception.getMessage().contains("DISK_FULL"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys)); // Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() { // Test that PAC smaller than 8 bytes is rejected byte[] smallData = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
fail("setObject should handle missing request gracefully: " + e.getMessage()); } } public void test_setObject_withNullName() { // Test setObject with null name try { WebApiUtil.setObject(null, "testValue"); } catch (Exception e) { fail("setObject should handle null name gracefully: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
void testDefaultConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(); // Then assertNull(exception.getMessage(), "Default constructor should have null message"); assertNull(exception.getCause(), "Default constructor should have null cause");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
* Test the default constructor. */ @Test void testDefaultConstructor() { PACDecodingException e = new PACDecodingException(); // Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
try { processHelper.sendCommand("nonexistent", "test command"); fail("Expected JobNotFoundException"); } catch (JobNotFoundException e) { assertTrue(e.getMessage().contains("Job for nonexistent is not found")); } } public void test_startProcess_basicCommand() { String sessionId = "test_session";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
// Arrange & Act SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException(); // Assert assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(), "Default message should match the class contract"); assertNull(ex.getCause(), "No cause expected from default constructor"); assertTrue(ex instanceof SmbException, "Should be an SmbException");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)