- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for flushQuietly (0.28 sec)
-
guava-tests/test/com/google/common/io/FlushablesTest.java
} public void testFlushQuietly_flushableWithEatenException() throws IOException { // make sure that no exception is thrown by flushQuietly when the mock does // throw an exception on flush. setupFlushable(true); Flushables.flushQuietly(mockFlushable); } // Set up a flushable to expect to be flushed, and optionally to // throw an exception.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
} public void testFlushQuietly_flushableWithEatenException() throws IOException { // make sure that no exception is thrown by flushQuietly when the mock does // throw an exception on flush. setupFlushable(true); Flushables.flushQuietly(mockFlushable); } // Set up a flushable to expect to be flushed, and optionally to // throw an exception.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Flushables.java
* Equivalent to calling {@code flush(flushable, true)}, but with no {@code IOException} in the * signature. * * @param flushable the {@code Flushable} object to be flushed. */ @Beta public static void flushQuietly(Flushable flushable) { try { flush(flushable, true); } catch (IOException e) { logger.log(Level.SEVERE, "IOException should not have been thrown.", e); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.5K bytes - Viewed (0)