- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 168 for CIFSException (0.07 seconds)
-
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));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/CloseableIteratorTest.java
class CloseableIteratorTest extends BaseTest { @Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 964 bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.ndr; import jcifs.CIFSException; /** * Exception thrown when an error occurs during NDR encoding or decoding operations. */ public class NdrException extends CIFSException { /** * */ private static final long serialVersionUID = 7621650016319792189L; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (1) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
void testIterator_FilterThrowsException() throws Exception { // Given: A filter that throws exception when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://")); when(nameFilter.accept(any(SmbResource.class), anyString())).thenThrow(new CIFSException("Filter error")); // Mock response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBProtocolDecodingException.java
*/ package jcifs.internal; import jcifs.CIFSException; /** * Exception thrown when errors occur during SMB protocol message decoding. * Indicates that an SMB message could not be properly parsed or decoded due to * malformed data, protocol violations, or unsupported message formats. * * @author mbechler */ public class SMBProtocolDecodingException extends CIFSException { /** * */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/PACDecodingException.java
*/ package jcifs.pac; import jcifs.CIFSException; /** * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded. * Indicates malformed or invalid PAC structures in Kerberos tickets. */ public class PACDecodingException extends CIFSException { private static final long serialVersionUID = 1L; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (1) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* @throws CIFSException if a CIFS protocol error occurs */ public Type3Message(final CIFSContext tc, final Type2Message type2, final String targetName, final String password, final String domain, final String user, final String workstation, final int flags) throws GeneralSecurityException, CIFSException { // keep old behavior of anonymous auth when no password is providedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import java.util.Collections; import java.util.HashMap; import java.util.Map; import jcifs.CIFSException; import jcifs.util.Hexdump; /** * There are hundreds of error codes that may be returned by a CIFS * server. Rather than represent each with it's own <code>Exception</code>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.config.PropertyConfiguration; public class SmbComWriteAndXResponseTest { private Configuration config; @BeforeEach public void setUp() throws CIFSException { config = new PropertyConfiguration(new Properties()); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5AuthenticatorTest { @Mock CIFSContext tc; @Mock Configuration config;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)