- Sort Score
- Result 10 results
- Languages All
Results 2031 - 2040 of 3,054 for throws (0.08 sec)
-
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* this method is guaranteed to be called once the computation is complete. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and * logged. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* this method is guaranteed to be called once the computation is complete. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and * logged. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class FessUserBeanTest extends UnitFessTestCase { private FessUserBean fessUserBean; private TestFessUser testUser; @Override public void setUp() throws Exception { super.setUp(); testUser = new TestFessUser(); fessUserBean = new FessUserBean(testUser); } public void test_getUserId() { // Test with normal user
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class DataStoreTest extends UnitFessTestCase { private DataStore dataStore; @Override public void setUp() throws Exception { super.setUp(); } public void test_store_basic() { // Create a simple DataStore implementation for testing final AtomicBoolean storeCalled = new AtomicBoolean(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
} @Override public boolean hasNext() { return !stack.isEmpty(); } @Override public T next() { Iterator<T> itr = stack.getLast(); // throws NSEE if empty T result = checkNotNull(itr.next()); if (!itr.hasNext()) { stack.removeLast(); } Iterator<T> childItr = children(result).iterator(); if (childItr.hasNext()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
return OptionalThing.ofNullable(subject, () -> { throw new IllegalStateException("Subject not found"); }); } @Override public OptionalThing<String> getSavedPlainText() { return OptionalThing.ofNullable(plainText, () -> { throw new IllegalStateException("Plain text not found"); }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
queryFieldConfig.highlightedFields = null; // When highlightedFields is null, the method should handle it gracefully // or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
lastCommandList = new ArrayList<>(cmdList); if (exception instanceof RuntimeException) { throw (RuntimeException) exception; } else if (exception instanceof InterruptedException) { Thread.currentThread().interrupt(); throw new RuntimeException(exception); } return new MockJobProcess(exitValue, output); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
// 8 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(0, 1, 2, 5, 7, 9); } public void testExpirationOrder_write() throws ExecutionException { // test lru within a single segment FakeTicker ticker = new FakeTicker(); IdentityLoader<Integer> loader = identityLoader(); LoadingCache<Integer, Integer> cache =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) { // Expected } // Test with invalid format System.setProperty("java.version", "invalid"); try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0)