- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 2,324 for exception (0.25 sec)
-
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
} catch (Exception e) { state = RdmaConnectionState.ERROR; throw new IOException("DiSNI RDMA send failed", e); } } @Override public ByteBuffer receive(int timeout) throws IOException { if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) { throw new IOException("Connection not established"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
} public void testSuccessful() throws Exception { assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
} /** * @throws Exception */ @Test public void testGetLastEntry() throws Exception { assertThat(list.getLastEntry(), is(nullValue())); list.addLast("1"); assertThat(list.getLastEntry().getElement(), is("1")); } /** * @throws Exception */ @Test public void testGetLast() throws Exception { try { list.getLast();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no more verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
IOException error = new IOException("Test error"); // Should not throw exception assertDoesNotThrow(() -> channelManager.handleChannelFailure(channel, error)); } @Test void testEstablishReplacementChannel() { // Should not throw exception even when no interfaces are available
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(session, times(4)).close(); verify(transport, times(4)).close(); } @Test @DisplayName("isSMB2 true and exception fallback to false") void isSMB2Cases() throws Exception { // Happy path returns true; transport exception path returns false when(transport.isSMB2()).thenReturn(true); assertTrue(handle.isSMB2()); reset(transport);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SMBSignatureValidationException.java
*/ package jcifs.smb; /** * Exception thrown when SMB message signature validation fails. * Indicates that the integrity of an SMB message could not be verified. * * @author mbechler * */ public class SMBSignatureValidationException extends SmbException { /** * Default constructor for SMB signature validation exception. */ public SMBSignatureValidationException() { }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final CountDownLatch futureCancelled = new CountDownLatch(1); final Exception exception = new Exception(); final Closeable mockCloseable = Mockito.mock(Closeable.class); @Override protected void tearDown() throws Exception { assertNoExpectedFailures(); super.tearDown(); } public void testFrom() throws Exception { ClosingFuture<String> closingFuture =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
*/ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(Short.valueOf("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0)