Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IOException (0.85 sec)

  1. 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());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. 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());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @throws IOException thrown by <tt>SmbFileInputStream</tt> constructor
     */
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream( this );
        }
    
    /**
     * This URLConnection method just returns a new <tt>SmbFileOutputStream</tt> created with this file.
     *
     * @throws IOException thrown by <tt>SmbFileOutputStream</tt> constructor
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. 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;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * </ul>
       *
       * <p>Example usage:
       *
       * <pre>{@code
       * // Fall back to a secondary input stream in case of IOException.
       * ClosingFuture<InputStream> inputFuture =
       *     firstInputFuture.catchingAsync(
       *         IOException.class, (closer, x) -> secondaryInputStreamClosingFuture(), executor);
       * }
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. 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;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top