- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 469 for getMessage (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
*/ @Test @DisplayName("Constructor 0 – NT_STATUS_SUCCESS") void testConstructorWithZeroCode() { SmbException ex = new SmbException(0, false); assertEquals("NT_STATUS_SUCCESS", ex.getMessage()); assertEquals(0, ex.getNtStatus()); assertNull(ex.getRootCause(), "root cause should be null for this ctor"); assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
try { scriptExecutor.execute("nonexistent", "some script"); fail("Expected ScriptEngineException"); } catch (ScriptEngineException e) { assertTrue(e.getMessage().contains("nonexistent")); } } public void test_execute_withNullScriptType() { // Try to execute with null script type try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
void release_belowZero_throws() { SmbTreeConnection c = newConn(); RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release); assertTrue(ex.getMessage().toLowerCase().contains("usage count")); } @Test @DisplayName("isConnected reflects underlying tree state") void isConnected_usesTree() { SmbTreeConnection c = newConn();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java
final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause")); System.out.println(e.getMessage()); assertThat(e.getPropertyName(), is("hoge")); assertThat(e.getValue(), is((Object) "xxx")); assertThat(e.getCause().getMessage(), is("cause")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
// For now, just return the file object return file; } catch (Exception e) { log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage()); throw new IOException("Failed to create SmbFile: " + e.getMessage(), e); } } /** * Get the CIFS context * * @return CIFS context */ public CIFSContext getContext() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
try { crawlJob.execute(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("10 crawler processes are running")); assertTrue(e.getMessage().contains("Max processes are 5")); } } // Test execute method with no max process limit public void test_execute_noMaxProcessLimit() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
// Try to get server message from SMB exception return cause.getMessage(); } return null; } private void logError() { if (errorCode.category == ErrorCategory.TRANSIENT) { log.debug("Transient SMB error: {} (attempt {}/{})", getMessage(), attemptNumber, retryPolicy.getMaxAttempts()); } else if (isRetryable()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
} public Set<Feature<?>> getConflicts() { return conflicts; } public Object getSource() { return source; } @Override public String getMessage() { return super.getMessage() + " (source: " + source + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
return CompletableFuture.failedFuture(new IOException("No durable handle available for reconnection: " + path)); } log.debug("Starting reconnection for handle: {} (cause: {})", path, cause.getMessage()); return attemptReconnect(info, 0, cause); } /** * Attempt to reconnect a specific handle * @param handleInfo the handle information
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
// Act & Assert NullPointerException npe = assertThrows(NullPointerException.class, () -> creds.unwrap(null)); assertEquals("type", npe.getMessage()); } @Test @DisplayName("clone returns a distinct copy with same properties") void clone_returns_copy() { // Arrange Subject subject = new Subject();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)