- Sort Score
- Num 10 results
- Language All
Results 1881 - 1890 of 2,828 for exception (0.13 seconds)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
try { userService.changePassword(username, form.newPassword); saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to change password for {}", username, e); throwValidationError(messages -> messages.addErrorsFailedToChangePassword(GLOBAL), toIndexPage); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} finally { logger.removeHandler(logHandler); } assertEquals(1, logHandler.getStoredLogRecords().size()); assertThat(logHandler.getStoredLogRecords().get(0).getMessage()) .isEqualTo("Exception while executing callback: MyListener custom-label"); } public void testEnqueueAndDispatch_multithreaded() throws InterruptedException { Object listener = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} finally { logger.removeHandler(logHandler); } assertEquals(1, logHandler.getStoredLogRecords().size()); assertThat(logHandler.getStoredLogRecords().get(0).getMessage()) .isEqualTo("Exception while executing callback: MyListener custom-label"); } public void testEnqueueAndDispatch_multithreaded() throws InterruptedException { Object listener = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
rr.getPolicy(true).isEnabled(), rr.getPolicy(true).getUpdatePolicy(), rr.getPolicy(false).getChecksumPolicy()); } catch (Exception e) { throw new RuntimeException("Unable to create repository", e); } } else { // TODO throw new UnsupportedOperationException("Not yet implemented");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
if (reactorContext.getReactorBuildStatus().isHalted()) { break; } } catch (Exception e) { session.getResult().addException(e); break; } } executor.shutdown(); executor.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 16 03:42:09 GMT 2025 - 8.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* @return The result from the supplier (either fresh or cached) * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls */ <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier); /** * Executes and optionally caches a batch of requests using the provided supplier function.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 3.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
* function that also supports reverse conversion. * * <p>If you are okay with {@code null} being returned for an unrecognized key (instead of an * exception being thrown), you can use the method reference {@code map::get} instead. Note that * it is not serializable unless you explicitly make it {@link Serializable}, typically by writingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
private RelatedQueryHelper relatedQueryHelper; private MockRelatedQueryBhv mockBhv; private VirtualHostHelper virtualHostHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.7K bytes - Click Count (0)