- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,417 for catch (0.02 seconds)
-
guava-tests/test/com/google/common/base/FunctionsTest.java
// convoluted way to check that the same result happens from each Y expected = null; try { expected = f.apply(i); } catch (IllegalArgumentException e) { try { g.apply(i); fail(); } catch (IllegalArgumentException ok) { continue; } } assertEquals(expected, g.apply(i)); } } @J2ktIncompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
result = map; success = true; } catch (UnsupportedLoadingOperationException e) { success = true; throw e; } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new ExecutionException(e); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { throw new ExecutionException(e);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
try { String rawCommentText = classMetaData.getRawCommentText(); try { return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener); } catch (Exception e) { throw new GradleException(String.format("Could not convert javadoc comment to docbook.%nClass: %s%nComment: %s", classMetaData, rawCommentText), e); } } finally {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
} else { request.addMetadata(new MetadataBridge(metadata)); } } try { repoSystem.install(session, request); } catch (InstallationException e) { throw new ArtifactInstallationException(e.getMessage(), e); } /*Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
filesToDelete.add(toDelete); warnAboutCleanup = true; } public synchronized File createTempDir() { try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
public void flush() { for (CacheRecord record : cache.values()) { ClassRealm realm = record.getRealm(); try { realm.getWorld().disposeRealm(realm.getId()); } catch (NoSuchRealmException e) { // ignore } } cache.clear(); } @Override public void register(MavenProject project, Key key, CacheRecord record) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testClear_unsupportedByEmptyCollection() { try { getMap().clear(); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader) true } catch (_: ClassNotFoundException) { false } fun buildIfSupported(): OpenJSSEPlatform? = if (isSupported) OpenJSSEPlatform() else null }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
.withPluginClasspath() .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s") val (buildResult, failure) = try { runner.build()!! to null } catch (ex: UnexpectedBuildFailure) { ex.buildResult!! to ex } println(buildResult.output)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 18K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
+ " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0)