- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 168 for CIFSException (0.1 seconds)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
} } } catch (final CIFSException e) { throw SmbException.wrap(e); } } SmbFileOutputStream(final SmbFile file, final SmbTreeHandleImpl th, final SmbFileHandleImpl handle, final int openFlags, final int access, final int sharing) throws CIFSException { this.file = file; this.handle = handle;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
*/ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established. * * @return the tree handle implementation * @throws CIFSException if a connection error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
void testCloseDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { try { emptyIterator.close(); } catch (CIFSException e) { throw new RuntimeException(e); } }, "close() should not throw any exception"); } @Test @DisplayName("remove should not throw any exception")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
throws CIFSException { return send(request, response, Collections.<RequestParam> emptySet()); } <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response, final Set<RequestParam> params) throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
* <code>TYPE_PRINTER</code> or <code>TYPE_COMM</code>. * @throws CIFSException if the type cannot be determined */ int getType() throws CIFSException; /** * Determines whether this resource represents a workgroup reference. * * @return whether this is a workgroup reference * @throws CIFSException if the determination cannot be made */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testClose() throws CIFSException { assertFalse(context.isCloseCalled()); boolean result = context.close(); assertFalse(result); // AbstractCIFSContext always returns false for close() assertTrue(context.isCloseCalled()); } @Test void testRun_successfulClose() throws CIFSException { // Simulate the shutdown hook being runCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
byte[] flagData = new byte[4]; SMBUtil.writeInt4(0x12345678, flagData, 0); byte[] avPairData = createAvPairData(AvPair.MsvAvFlags, flagData); CIFSException exception = assertThrows(CIFSException.class, () -> { AvPairs.decode(avPairData); }); assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.smb1.com.SmbComBlankResponse; import jcifs.internal.smb1.com.SmbComClose;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
} @Test @DisplayName("send throws CIFSException for null request when implementation does") void send_nullRequest_throws() throws Exception { // Arrange when(tree.send(isNull())).thenThrow(new CIFSException("null request")); // Act CIFSException ex = assertThrows(CIFSException.class, () -> tree.send(null)); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)