- Sort Score
- Num 10 results
- Language All
Results 1331 - 1340 of 2,684 for catch (0.04 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
public void testSet_unsupportedByEmptyList() { try { getList().set(0, e3()); fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException"); } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) { } expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @ListFeature.Require(SUPPORTS_SET)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
} private Settings build(SettingsBuildingRequest request) throws IOException, XmlPullParserException { try { return settingsBuilder.build(request).getEffectiveSettings(); } catch (SettingsBuildingException e) { throw new IOException(e.getMessage(), e); } } /** @since 2.1 */ @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
*/ protected String decode(final String host) { if (host.indexOf('%') == -1) { return host; } try { return URLDecoder.decode(host, encoding); } catch (final UnsupportedEncodingException e) { return host; } } /** * Converts the given host string to ASCII using IDN. * * @param host the host string to convertCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java
cb.query().addOrderBy_Name_Asc(); }, scheduledJob -> { try { ComponentUtil.getJobHelper().register(cron, scheduledJob); } catch (final Exception e) { logger.error("Failed to start job: id={}", scheduledJob.getId(), e); } }); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
context.indent(); try { UpgradeResult result = doApply(context, pomMap); // Log summary logSummary(context, result); return result; } catch (Exception e) { context.failure("Strategy execution failed: " + e.getMessage()); return UpgradeResult.failure(pomMap.keySet(), Set.of()); } finally { context.unindent(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
try { while (true) { val event = takeEvent() if (eventClass.isInstance(event)) { return eventClass.cast(event) } } } catch (e: NoSuchElementException) { throw AssertionError("full event sequence: $fullEventSequence", e) } } /** * Remove and return the next event from the recorded sequence. *Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch; protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
"NullableOptional", // Null passthrough is reasonable for type conversions }) // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls @IgnoreJRERequirement public static <T> java.util.@Nullable Optional<T> toJavaUtil( @Nullable Optional<T> googleOptional) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
default Builder toBuilder() { try { return new Builder( getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory()); } catch (IllegalStateException e) { return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null); } } /** * Returns new builder from scratch.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0)