Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 802 for rethrow (1.44 sec)

  1. android/guava/src/com/google/common/io/CharSink.java

        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSink.java

        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSink.java

        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
       * input}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSink.java

        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
       * input}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareBuildTreeWorkController.kt

            }
            if (executionResult != null) {
                return executionResult
            }
    
            cache.finalizeCacheEntry()
            buildRegistry.visitBuilds { build ->
                build.beforeModelReset().rethrow()
            }
            buildRegistry.visitBuilds { build ->
                build.resetModel()
            }
    
            return workGraph.withNewWorkGraph { graph ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(latch.await(5, TimeUnit.SECONDS));
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        try {
          future.get();
          fail("Future should rethrow the exception.");
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().hasMessageThat().isEqualTo(message);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Flushables.java

      private Flushables() {}
    
      /**
       * Flush a {@link Flushable}, with control over whether an {@code IOException} may be thrown.
       *
       * <p>If {@code swallowIOException} is true, then we don't rethrow {@code IOException}, but merely
       * log it.
       *
       * @param flushable the {@code Flushable} object to be flushed.
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code flush}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Flushables.java

      private Flushables() {}
    
      /**
       * Flush a {@link Flushable}, with control over whether an {@code IOException} may be thrown.
       *
       * <p>If {@code swallowIOException} is true, then we don't rethrow {@code IOException}, but merely
       * log it.
       *
       * @param flushable the {@code Flushable} object to be flushed.
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code flush}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Closeables.java

       *   try {
       *     // ... code which does something with the stream ...
       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(latch.await(5, TimeUnit.SECONDS));
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        try {
          future.get();
          fail("Future should rethrow the exception.");
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().hasMessageThat().isEqualTo(message);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top