- Sort Score
- Result 10 results
- Languages All
Results 1551 - 1560 of 1,808 for try (0.02 sec)
-
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
} // Test run method with null DataService public void test_run_nullDataService() { indexUpdater.dataService = null; try { indexUpdater.run(); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("DataService is null.", e.getMessage()); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
// first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed // to propagate immediately. Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} default int getSystemPropertyAsInt(final String key, final int defaultValue) { final String value = getSystemProperty(key); if (value != null) { try { return Integer.parseInt(value); } catch (final NumberFormatException e) { // ignore } } return defaultValue; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
ComponentUtil.register(systemHelper, "systemHelper"); ComponentUtil.setFessConfig(fessConfig); // Execute and expect exception to be handled try { String result = pingSearchEngineJob.execute(); // Job should handle exception gracefully assertNotNull(result); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
accessResultDataImpl.setData(value.getBytes(Constants.UTF_8)); accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("transformer"); try { final Object obj = xmlTransformer.getData(accessResultDataImpl); fail(); } catch (final CrawlerSystemException e) {} } public void test_getData_nullData() throws Exception {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.5K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
it is ConnectionAcquired || it is ConnectionReleased || it is Canceled || it is RequestFailed || it is ResponseFailed private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun cancelLater( call: Call, delayMillis: Int,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0)