Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 170 for CIFSException (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
            // Assert throwing/catching behavior with assertThrows
            SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> {
                throw new SMBProtocolDecodingException();
            }, "Should be throwable via assertThrows");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         * @return the filesystem info cast to the specified type
         * @throws CIFSException if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
    
            // Assert - type hierarchy: subclass of CIFSException and IOException
            assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException (checked)");
        }
    
        @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws CIFSException if an error occurs while opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top