- Sort Score
- Num 10 results
- Language All
Results 1431 - 1440 of 2,684 for catch (0.12 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
return null; }); try (InputStream inputStream = form.stopwordsFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.3K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} private static void assertCastFails(long value) { try { SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } } private static void setField(Object target, String name, Object value) { try { var f = target.getClass().getDeclaredField(name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// When - simulate concurrent access Thread thread1 = new Thread(() -> { try { response.readBytesWireFormat(buffer1, 0); } catch (SMBProtocolDecodingException e) { fail("Thread 1 failed: " + e.getMessage()); } }); Thread thread2 = new Thread(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
// so this should throw a NullPointerException try { ltrQueryRescorer.evaluate(null); fail("Expected NullPointerException"); } catch (NullPointerException e) { // Expected behavior - StoredLtrQueryBuilder requires non-null params assertNotNull(e); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
nullawayEnabled.convention(false) } nullaway { // NullAway can use NullMarked instead, but for the adoption process it is more effective to assume that all gradle code is already annotated. // This way we can catch discrepancies in modules easier. We should make all packages NullMarked eventually too, but this is a separate task. annotatedPackages.add("org.gradle") } dependencies { attributesSchema {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:47:14 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
final String value = paramMap.getAsString("readInterval"); if (StringUtil.isNotBlank(value)) { try { readInterval = Long.parseLong(value); } catch (final NumberFormatException e) { logger.warn("Invalid readInterval value: '{}'. Expected: numeric value in milliseconds.", value); } } return readInterval; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
// We use getUninterruptibly over getDone as a micro-optimization, we know the future is done. collectOneValue(index, getUninterruptibly(future)); } catch (ExecutionException e) { handleException(e.getCause()); } catch (Throwable t) { // sneaky checked exception handleException(t); } } private void decrementCountAndMaybeComplete(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
CountDownLatch latch = new CountDownLatch(1); SettableFuture<?> future = SettableFuture.create(); Executor delegate = new Executor() { @Override public void execute(Runnable task) { if (future.set(null)) { awaitUninterruptibly(latch); } throw new RejectedExecutionException();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0)