- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 170 for CIFSException (0.21 sec)
-
src/test/java/jcifs/http/NtlmServletTest.java
@Mock private NameServiceClient nameServiceClient; /** * Sets up the mock objects before each test. * @throws CIFSException */ @BeforeEach void setUp() throws CIFSException { ntlmServlet = new TestNtlmServlet(); // Mock ServletConfig to provide initialization parameters Map<String, String> initParams = new HashMap<>();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@Test @DisplayName("getDfsReferrals handles empty name via CIFSException") void getDfsReferrals_emptyName() throws Exception { String emptyName = ""; doThrow(new jcifs.CIFSException("invalid dfs name")).when(transport) .getDfsReferrals(eq(ctx), eq(emptyName), any(), any(), anyInt()); assertThrows(jcifs.CIFSException.class, () -> transport.getDfsReferrals(ctx, emptyName, "h", "d", 1));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
import java.net.URL; import java.net.UnknownHostException; import java.util.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.Address; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.NetbiosAddress; import jcifs.RuntimeCIFSException; import jcifs.SmbConstants; import jcifs.SmbResourceLocator; import jcifs.internal.util.StringUtil;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
*/ @Override public synchronized void close(final long lastWriteTime) throws CIFSException { closeInternal(lastWriteTime, true); } /** * @param lastWriteTime * @throws SmbException */ void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException { final SmbTreeHandleImpl t = this.tree; try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
*/ package jcifs.smb; import java.util.Arrays; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.internal.smb2.lease.DirectoryCacheScope; import jcifs.internal.smb2.lease.DirectoryLeaseManager; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.lease.Smb2LeaseState; /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
* @return the created channel group * @throws CIFSException if channel creation fails */ public ChannelGroup createChannels(String sessionId, List<InetAddress> serverAddresses) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
* @param challenge the server challenge (may be null for some auth types) * @return authentication response data * @throws CIFSException if authentication fails */ byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException; /** * Gets the session key after successful authentication * * @return the session key or null if not available */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (1) -
src/main/java/jcifs/ResourceFilter.java
* * @param resource the SMB resource to test * @return whether the given resource should be included * @throws CIFSException if an error occurs while accessing the resource */ boolean accept(SmbResource resource) throws CIFSException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertNull(ex.getMessage(), "Default message should be null"); assertNull(ex.getCause(), "Default cause should be null"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException"); assertTrue(ex instanceof IOException, "Should be an IOException"); } @Test @DisplayName("Should create SpnegoException with message") void testWithMessage() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.ResourceFilter; import jcifs.SmbConstants; import jcifs.SmbResource; @ExtendWith(MockitoExtension.class) class ShareEnumIteratorTest { @Mock ResourceFilter filter;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)