Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for IOException (0.19 seconds)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @throws IOException thrown by {@code SmbFileOutputStream} constructor
         */
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SmbFileOutputStream(this);
        }
    
        private void processAces(final ACE[] aces, final boolean resolveSids) throws IOException {
            final String server = getServerWithDfs();
            int ai;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        client =
          client
            .newBuilder()
            .authenticator { _: Route?, _: Response -> throw IOException("IOException!") }
            .build()
        val request = Request(server.url("/"))
        executeSynchronously(request)
          .assertFailure(IOException::class.java)
        assertThat(client.connectionPool.idleConnectionCount()).isEqualTo(1)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val request = newRequest("/")
        assertFailsWith<IOException> {
          getResponse(request)
        }
      }
    
      @Test
      fun serverSendsInvalidCodeTooLarge() {
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 2147483648 OK")
            .build(),
        )
        val request = newRequest("/")
        assertFailsWith<IOException> {
          getResponse(request)
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFile.java

        /**
         * This URLConnection method just returns a new {@code SmbFileInputStream} created with this file.
         *
         * @throws IOException
         *             thrown by {@code SmbFileInputStream} constructor
         */
        @Override
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream(this);
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  5. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/connection/RealCall;->messageDone$okhttp(Lokhttp3/internal/connection/Exchange;ZZLjava/io/IOException;)Ljava/io/IOException;
    HSPLokhttp3/internal/connection/RealCall;->noMoreExchanges$okhttp(Ljava/io/IOException;)Ljava/io/IOException;
    HSPLokhttp3/internal/connection/RealCall;->releaseConnectionNoEvents$okhttp()Ljava/net/Socket;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCatching_inputCancelledWithoutFallback() throws Exception {
        Function<IOException, Integer> fallback = unexpectedFunction();
        ListenableFuture<Integer> originalFuture = immediateCancelledFuture();
        ListenableFuture<Integer> faultTolerantFuture =
            catching(originalFuture, IOException.class, fallback, directExecutor());
        assertTrue(faultTolerantFuture.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCatching_inputCancelledWithoutFallback() throws Exception {
        Function<IOException, Integer> fallback = unexpectedFunction();
        ListenableFuture<Integer> originalFuture = immediateCancelledFuture();
        ListenableFuture<Integer> faultTolerantFuture =
            catching(originalFuture, IOException.class, fallback, directExecutor());
        assertTrue(faultTolerantFuture.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.opensearch.core.action.ActionListener.wrap;
    
    import java.io.File;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.charset.StandardCharsets;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/cache/LocalCache.java

    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    import com.google.j2objc.annotations.Weak;
    import java.io.IOException;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.SoftReference;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * </ul>
       *
       * <p>Example usage:
       *
       * {@snippet :
       * // Fall back to a secondary input stream in case of IOException.
       * ClosingFuture<InputStream> inputFuture =
       *     firstInputFuture.catchingAsync(
       *         IOException.class, (closer, x) -> secondaryInputStreamClosingFuture(), executor);
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top