Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 842 for IOException (0.08 sec)

  1. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.api;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.HashMap;
    import java.util.Map;
    
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

        this.inetSocketAddress = address;
      }
    
      @Override public void connect(SocketAddress endpoint) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), 0);
      }
    
      @Override public void connect(SocketAddress endpoint, int timeout) throws IOException {
        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), timeout);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            }
    
            try {
                while (data.hasRemaining()) {
                    socketChannel.write(data);
                }
            } catch (IOException e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("TCP RDMA send failed", e);
            }
        }
    
        @Override
        public ByteBuffer receive(int timeout) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. 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}]")
        @MethodSource("messages")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MimeMap.java

        private int inLen;
    
        /**
         * Creates a new MimeMap instance by loading MIME type mappings from the resource file.
         *
         * @throws IOException if there is an error reading the mime.map resource file
         */
        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CloseableUtil.java

                return;
            }
            try {
                closeable.close();
            } catch (final IOException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Closes a {@link Closeable} quietly, suppressing any {@link IOException}.
         *
         * @param closeable the closeable object
         */
        public static void closeQuietly(final Closeable closeable) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      }
    
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) {
        started = true
        delegate.start(port)
      }
    
      @Throws(IOException::class)
      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        started = true
        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test with different types of cause exceptions
    
            // Test with IOException
            Throwable ioCause = new java.io.IOException("IO error");
            GsaConfigException ioException = new GsaConfigException("GSA IO error", ioCause);
            assertNotNull(ioException);
            assertTrue(ioException.getCause() instanceof java.io.IOException);
    
            // Test with custom exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
        /**
         * Constructs a NegTokenTarg by parsing the provided token bytes
         * @param token the SPNEGO token bytes to parse
         * @throws IOException if parsing fails
         */
        public NegTokenTarg(final byte[] token) throws IOException {
            parse(token);
        }
    
        /**
         * Gets the negotiation result code
         * @return the result code
         */
        public int getResult() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top