- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 168 for CIFSException (0.56 seconds)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
} // Error path: overlaps may throw a CIFSException per signature @Test @DisplayName("overlaps throws CIFSException when implementation fails") void overlapsThrowsCifsException() throws Exception { when(locator.overlaps(any())).thenThrow(new CIFSException("Simulated failure")); CIFSException ex = assertThrows(CIFSException.class, () -> locator.overlaps(other));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* Test for getOEMDomainName() method throwing CIFSException. * @throws CIFSException */ @Test void testGetOEMDomainName_throwsCIFSException() throws CIFSException { when(smbTreeHandle.getOEMDomainName()).thenThrow(new CIFSException("Test Exception")); assertThrows(CIFSException.class, () -> smbTreeHandle.getOEMDomainName(), "getOEMDomainName() should throw CIFSException"); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * @return changes since the last invocation * @throws CIFSException if an error occurs retrieving file notifications */ List<FileNotifyInformation> watch() throws CIFSException; /** * {@inheritDoc} * * @see java.util.concurrent.Callable#call() */ @Override List<FileNotifyInformation> call() throws CIFSException; /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@Test @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails") void ensureDFSResolved_throws() throws Exception { // Arrange: configure the mock to throw doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved(); // Act + Assert: exception is propagated with message CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
*/ int getReceiveBufferSize() throws CIFSException; /** * Gets the maximum buffer size supported by the server * @return the maximum buffer size reported by the server * @throws CIFSException if an error occurs retrieving the buffer size */ int getMaximumBufferSize() throws CIFSException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.SmbConstants; import jcifs.SmbPipeHandle; import jcifs.SmbPipeResource; import jcifs.internal.smb1.trans.TransCallNamedPipe; import jcifs.internal.smb1.trans.TransCallNamedPipeResponse;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { this.parent = parent; this.wildcard = wildcard;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
TestIterator iterator = new TestIterator(null); CIFSException ex = assertThrows(CIFSException.class, iterator::close); assertEquals("Close failed", ex.getMessage()); } @Test @DisplayName("Remove delegates to underlying iterator") void removeDelegation() { when(delegate.hasNext()).thenReturn(false);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
import java.util.Properties; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.BaseTest; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Test class for PropertyConfiguration functionality */ @DisplayName("PropertyConfiguration Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SpnegoContext.java
} catch (final CIFSException e) { throw new CIFSException("Failed to verify mechanismListMIC", e); } } /** * @param mechs * @return * @throws CIFSException */ private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException { try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0)