- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 2,976 for throw (0.02 sec)
-
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
return new SuggestIndexResponse(items.length, items.length, result.getFailures(), System.currentTimeMillis() - start); } catch (final Exception e) { throw new SuggestIndexException("Failed to write items[" + items.length + "] to " + index, e); } } /** * Deletes a suggest item by ID. * @param id The ID of the item to delete.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.RELEASE_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.RELEASE_VERSION.equals(version)) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt
if (assets == null) { if (Build.FINGERPRINT == null) { throw IOException( "Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) } else { throw IOException( "Platform applicationContext not initialized. " +
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
@Override public void deleteBefore(long time) { throw new RuntimeException("Crawling error"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) { throw new RuntimeException("Search error"); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
assertTrue(flag.get()); } public void test_shutdownListener_exceptionHandling() { // Test exception thrown in shutdown listener jobExecutor.addShutdownListener(new ShutdownListener() { @Override public void onShutdown() { throw new RuntimeException("Test exception"); } }); try { jobExecutor.shutdown();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} if (!foundKerberos) { throw new SmbUnsupportedOperationException("Server does not support kerberos authentication"); } } } catch (SmbException e) { throw e; } catch (IOException e1) { log.debug("Ignoring invalid initial token", e1); } try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
.findVirtual(clazz, "update", MethodType.methodType(void.class, ByteBuffer.class)); } catch (ClassNotFoundException e) { throw new AssertionError(e); } catch (IllegalAccessException e) { // That API is public. throw newLinkageError(e); } catch (NoSuchMethodException e) { // Only introduced in Java 9. return null; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
} public void test_register_with_null_scheduledJob() { try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) { assertEquals("No job.", e.getMessage()); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
verifyNoMoreInteractions(smbFile); } @Test @DisplayName("accept: propagates SmbException thrown by dependency") void accept_propagatesSmbException() throws Exception { // Arrange: filter delegates to isDirectory which may throw SmbException SmbFileFilter filter = f -> f.isDirectory(); SmbException boom = new SmbException("io error");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)