- Sort Score
- Result 10 results
- Languages All
Results 1291 - 1300 of 1,922 for Try (0.02 sec)
-
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
final OsddHelper osddHelper = new OsddHelper(); osddHelper.setContentType("application/opensearchdescription+xml"); osddHelper.init(); assertFalse(osddHelper.hasOpenSearchFile()); try { osddHelper.asStream(); fail(); } catch (final Exception e) { assertEquals("Unsupported Open Search Description Document response.", e.getMessage()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
clusterName = response.getClusterName(); clusterStatus = response.getStatus().toString(); final Set<String> fieldSet = ComponentUtil.getFessConfig().getApiPingEsFieldSet(); try (OutputStream out = SearchEngineUtil.getXContentBuilderOutputStream((builder, params) -> { builder.startObject(); if (fieldSet.contains(CLUSTER_NAME)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (2) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
private final List<Member> ignoredMembers = Lists.newArrayList(); private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE; public NullPointerTester() { try { /* * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For * more information, see the comments in that class. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply { isLenient = false timeZone = UTC } } } /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */ private val BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS = arrayOf( // HTTP formats required by RFC2616 but with any timezone: // RFC 822, updated by RFC 1123 with any TZ.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
expectUnchanged(); } @CollectionSize.Require(ZERO) @ListFeature.Require(absent = SUPPORTS_SET) public void testSet_unsupportedByEmptyList() { try { getList().set(0, e3()); fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException"); } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) { }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " 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")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " 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")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " 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")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} @J2ktIncompatible @GwtIncompatible // withTimeout public void testWithTimeout() throws Exception { ScheduledExecutorService executor = newScheduledThreadPool(1); try { FluentFuture<?> f = FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor); ExecutionException e = assertThrows(ExecutionException.class, () -> f.get());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
throws IOException, XmlPullParserException { return buildSettings(userSettingsFile); } 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 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0)