Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for IOException (0.06 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getContent(classes);
        }
    
        @Override
        public Permission getPermission() throws IOException {
            return connection.getPermission();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            try {
                handshake();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(testConverter);
        }
    
        @Test
        public void testInit() throws IOException {
            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            String text = "test text";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

         */
        public abstract void connect() throws IOException;
        
        /**
         * Send data using RDMA
         */
        public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException;
        
        /**
         * Receive data using RDMA  
         */
        public abstract ByteBuffer receive(int timeout) throws IOException;
        
        /**
         * Perform RDMA read operation
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            };
            ComponentUtil.register(factory, "webApiManagerFactory");
    
            // Execute and expect IOException
            try {
                webApiFilter.doFilter(request, response, chain);
                fail("Expected IOException");
            } catch (IOException e) {
                assertEquals("Test IOException", e.getMessage());
            } catch (ServletException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            @Override
            public void init() throws IOException {
                if (throwExceptionOnInit) {
                    throw new IOException("Init failed");
                }
            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (throwExceptionOnConvert) {
                    throw new IOException("Convert failed");
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

         *
         * @param request the request to create a key for
         * @throws IOException if an I/O error occurs
         */
        protected abstract void makeKey(Request request) throws IOException;
    
        /**
         * Reads and returns the key of the next message without consuming it.
         *
         * @return the request key of the next message
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
                socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS);
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            }
    
            @Test
            @DisplayName("Should throw IOException when handle is stale")
            void testDoSendReceiveFragment_StaleHandle() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                when(mockSmbPipeHandleInternal.isStale()).thenReturn(true);
    
                assertThrows(IOException.class, () -> handle.doSendReceiveFragment(new byte[10], 0, 10, new byte[10]));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/MockWitnessService.java

        /**
         * Get the address the service is listening on
         *
         * @return the service address
         * @throws IOException if address cannot be determined
         */
        public InetAddress getAddress() throws IOException {
            if (serverSocket == null) {
                throw new IOException("Service not started");
            }
            return InetAddress.getLocalHost();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.util.Date;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top