- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for getThrown (0.05 sec)
-
android/guava-tests/test/com/google/common/io/CloseablesTest.java
private void setupCloseable(boolean shouldThrow) throws IOException { mockCloseable = mock(Closeable.class); if (shouldThrow) { doThrow(new IOException("This should only appear in the logs. It should not be rethrown.")) .when(mockCloseable) .close(); } } private void doClose(Closeable closeable, boolean swallowException) throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
return FileUtil.getCanonicalPath(zipFile); } /** * Closes the Zip file. * <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */ public static void close(final ZipFile zipFile) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0)