- Sort Score
- Result 10 results
- Languages All
Results 1431 - 1440 of 1,922 for try (0.04 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
*/ @JvmName("uri") fun toUri(): URI { val uri = newBuilder().reencodeForUri().toString() return try { URI(uri) } catch (e: URISyntaxException) { // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry. try { val stripped = uri.replace(Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"), "") URI.create(stripped)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST); assertThat(Chars.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } private void assertCastFails(long value) { try { Chars.checkedCast(value); fail("Cast to char should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return Types.newParameterizedTypeWithOwner( resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs); } private static <T> T expectArgument(Class<T> type, Object arg) { try { return type.cast(arg); } catch (ClassCastException e) { throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
// the range have a lower bound throw new IllegalArgumentException( "Neither the DiscreteDomain nor this range set are bounded below"); } else if (!span.hasUpperBound()) { try { domain.maxValue(); } catch (NoSuchElementException e) { throw new IllegalArgumentException( "Neither the DiscreteDomain nor this range set are bounded above"); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// previous one completes. if (get() == RunningState.CANCELLED) { delegate = null; sequencer = null; return; } submitting = Thread.currentThread(); try { /* * requireNonNull is safe because we don't null out `sequencer` except: * * - above, where we return (in which case we never get here) *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java
validate(form, messages -> {}, this::asDetailsHtml); verifyToken(this::asDetailsHtml); final String id = form.id; crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> { try { processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP); saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.synonymFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/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 15:41:36 UTC 2024 - 7K bytes - Viewed (0)