Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for IOException (0.14 seconds)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            super.tearDown(testInfo);
        }
    
        private void deleteRecursive(final Path path) throws IOException {
            if (Files.isDirectory(path)) {
                Files.list(path).forEach(child -> {
                    try {
                        deleteRecursive(child);
                    } catch (final IOException e) {
                        // ignore
                    }
                });
            }
            Files.deleteIfExists(path);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            Connection::class.java to factory.newConnection(pool, route),
            Dispatcher::class.java to Dispatcher(),
            Handshake::class.java to handshake,
            HttpUrl::class.java to url,
            IOException::class.java to IOException("boom"),
            InetSocketAddress::class.java to InetSocketAddress.createUnresolved("localhost", 80),
            List::class.java to listOf<Any?>(),
            Long::class.java to 123L,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          throws IOException {
        for (TestCloseable closeable : asList(closeable1, moreCloseables)) {
          assertWithMessage("%s.stillOpen()", closeable).that(closeable.stillOpen()).isTrue();
        }
      }
    
      static void assertClosed(TestCloseable closeable1, TestCloseable... moreCloseables)
          throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          throws IOException {
        for (TestCloseable closeable : asList(closeable1, moreCloseables)) {
          assertWithMessage("%s.stillOpen()", closeable).that(closeable.stillOpen()).isTrue();
        }
      }
    
      static void assertClosed(TestCloseable closeable1, TestCloseable... moreCloseables)
          throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    buf.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException e) {
                    // StringWriter close() should not throw IOException, but log just in case
                    if (logger.isDebugEnabled()) {
                        logger.debug("Unexpected IOException while closing StringWriter", e);
                    }
                }
                return buf.toString();
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(rstStream.errorCode).isEqualTo(ErrorCode.CANCEL)
      }
    
      /**
       * When writing a set of headers fails due to an `IOException`, make sure the writer is left
       * in a consistent state so the next writer also gets an `IOException` also instead of
       * something worse (like an [IllegalStateException].
       *
       *
       * See https://github.com/square/okhttp/issues/1651
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

              byteCount: Long,
            ) = TODO()
    
            override fun responseFailed(
              call: Call,
              ioe: IOException,
            ) = TODO()
    
            override fun callEnd(call: Call) = TODO()
    
            override fun callFailed(
              call: Call,
              ioe: IOException,
            ) = TODO()
    
            override fun canceled(call: Call) = TODO()
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

         *
         * @param httpRequest The HTTP request to execute
         * @return The HTTP response
         * @throws IOException If an I/O error occurs
         */
        protected ClassicHttpResponse executeHttpClient(final ClassicHttpRequest httpRequest) throws IOException {
            return httpClient.executeOpen(null, httpRequest, httpClientContext);
        }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.IOException
    import java.net.HttpURLConnection
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.CountDownLatch
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
Back to Top