- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 324 for getMessages (1.37 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput); assertTrue(e1.getMessage().contains("Already closed")); CIFSException e2 = assertThrows(SmbException.class, target::getOutput); assertTrue(e2.getMessage().contains("Already closed")); } @Test @DisplayName("ensureOpen throws after close() is called")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java
fail("Expected CrawlerSystemException to be thrown"); } catch (final CrawlerSystemException e) { // Expected assertTrue(e.getMessage().contains("Could not stop a process")); } } /** * Test CrawlerSystemException is re-thrown when ignoreException = false */ public void test_crawlerSystemExceptionRethrown() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause(); assertTrue(cause instanceof CIFSException); assertTrue(cause.getMessage().contains("Failed to create multi-channel transport")); } @Test @DisplayName("createChannelTransport should handle localhost addresses")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
* . */ @Test public void testSIllegalStateExceptionString() { final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge"); assertThat(clIllegalStateException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)} * . */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/util/SecureCredentialStorage.java
} } catch (DestroyFailedException e) { // Re-throw DestroyFailedException as-is throw e; } catch (Exception e) { // For any other exception, wrap it throw new DestroyFailedException("Failed to destroy secure storage: " + e.getMessage()); } finally {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertFalse(session.isInUse()); // Next release goes below zero and throws RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release); assertTrue(ex.getMessage().contains("below zero")); // Only one transport release should have occurred verify(transport, times(1)).release(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA)); assertEquals("Missing key", e.getMessage()); } /** * Test calculateMac with an invalid algorithm type. */ @Test void testCalculateMacInvalidAlgorithm() { Map<Integer, KerberosKey> keys = new HashMap<>();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java
* * @param cause * the cause */ public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) { super("ECL0105", new Object[] { cause.getMessage() }, cause); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.2K bytes - Viewed (0)