- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 2,684 for catch (0.02 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
} try { trimToSize() } catch (_: IOException) { mostRecentTrimFailed = true } try { if (journalRebuildRequired()) { rebuildJournal() redundantOpCount = 0 } } catch (_: IOException) { mostRecentRebuildFailed = trueCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() { initMapWithNullKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
Artifact a = null; try { a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar"); dependencies.add(a); } catch (Exception e) { throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a); } } if ("i".equals(artifact.getArtifactId())) { Artifact a = null;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail(); } catch (IllegalStateException expected3) { } try { closingFuture.catchingAsync( Exception.class, (closer, x) -> ClosingFuture.from(immediateFuture("value3")), executor); fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
String expectedMessage = "LDAP authentication failed"; try { throw new LdapOperationException(expectedMessage); } catch (LdapOperationException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught LdapOperationException"); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} String line; while ((line = ReaderUtil.readLine(reader)) != null) { buf.append(line); } } catch (final Exception e) { throwValidationError(messages -> messages.addErrorsFailedToReadRequestFile(GLOBAL, e.getMessage()), () -> asListHtml(this::saveToken)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
} try { Files.delete(f); } catch (final IOException e) { logger.warn("Failed to delete: path={}", f, e); } }); Files.deleteIfExists(dir); } catch (final IOException e) { logger.warn("Failed to delete: path={}", dir, e); } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.1K bytes - Click Count (0)