- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 2,976 for throw (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
} catch (ComponentLookupException e) { throw new IllegalStateException(e); } } private static RepositorySystemSession rss(PlexusContainer c) { try { LegacySupport legacySupport = c.lookup(LegacySupport.class); return legacySupport.getRepositorySession(); } catch (ComponentLookupException e) { throw new IllegalStateException(e); } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
public static String getCanonicalPath(final File file) { assertArgumentNotNull("file", file); try { return file.getCanonicalPath(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Converts this abstract pathname to a <code>file:</code> URL. * * @param file the file (must not be {@literal null})
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
FutureCallback<String> callback = new FutureCallback<String>() { @Override public void onSuccess(String result) { successCalls[0]++; throw exception; } @Override public void onFailure(Throwable t) { failureCalls[0]++; } }; addCallback(future, callback, directExecutor());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
f.setAccessible(true); return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } } // Helper: find field in class hierarchy private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException { Class<?> current = clazz; while (current != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
final long now = SystemUtil.currentTimeMillis(); if (now - previousTime < interval) { throw new IllegalStateException(); } previousTime = now; count++; if (count <= exceptionCount) { throw new CrawlerSystemException("exception " + count); } final ResponseData responseData = new ResponseData();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testMultipleCloseOnManagedResource() throws Exception { TestResource resource = new TestResource("multiclose"); ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throw assertDoesNotThrow(managed::close); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
throw new SsoLoginException("could not validate nonce"); } final String nonce = (String) claimsSet.getClaim("nonce"); if (logger.isDebugEnabled()) { logger.debug("nonce: {}", nonce); } if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) { throw new SsoLoginException("could not validate nonce");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 37.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
languageHelper.getReindexScriptSource()); } public void test_init() { try { languageHelper.init(); // Should not throw exception } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_updateDocument_withExistingLang() { Map<String, Object> doc = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java
job.launchNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public void stop() { ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> { job.stopNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public String getId() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.1K bytes - Viewed (0)