- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 168 for CIFSException (0.07 seconds)
-
src/main/java/jcifs/smb/NtlmContext.java
* @return the Type 3 message to send to the server * @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException { if (this.auth instanceof NtlmNtHashAuthenticator) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/jcifs/SmbPipeHandle.java
* @throws CIFSException if an error occurs getting the input stream */ InputStream getInput() throws CIFSException; /** * Gets the output stream for writing to this pipe. * * @return this pipe's output stream * @throws CIFSException if an error occurs getting the output stream */ OutputStream getOutput() throws CIFSException; /** * {@inheritDoc}Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final T response, final Set<RequestParam> params) throws CIFSException { CIFSException last = null; final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null; final String savedPath = rpath != null ? rpath.getPath() : null; final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/context/SingletonContextTest.java
} @Test void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized SingletonContext.init(null); CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null)); assertEquals("Singleton context is already initialized", e.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbConnectionTest.java
*/ @Test @DisplayName("getBatchLimit returns correct values for different SMB commands") public void testBatchLimitForDifferentCommands() throws CIFSException { Properties props = new Properties(); props.setProperty("jcifs.smb.client.useBatching", "true"); props.setProperty("jcifs.smb.client.useUnicode", "true");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
} return 0L; } catch (final CIFSException e) { throw SmbException.wrap(e); } } /** * @return * @throws CIFSException * @throws SmbException */ private AllocInfo fetchAllocationInfo(final SmbTreeHandleImpl th) throws CIFSException, SmbException { AllocInfo ai; try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
} @Test @DisplayName("open() throwing CIFSException triggers close and rethrow") void constructorOpenThrows() { // Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] { entry("x") } }); // Act + Assert CIFSException ex = assertThrows(CIFSException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.smb2.io.Smb2WriteRequest; import jcifs.internal.smb2.io.Smb2WriteResponse; @ExtendWith(MockitoExtension.class)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
return this.handle.isOpen(); } @Override protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /** * Gets the pipe handle implementation for this output stream. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIterator2(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); } /**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)