- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,817 for throwIf (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/JobHelper.java
} } catch (final Exception e) { throw new ScheduledJobException("Failed to delete Job: " + scheduledJob, e); } } /** * Removes a scheduled job completely from the job manager. * * @param scheduledJob the scheduled job to remove * @throws ScheduledJobException if the job cannot be removed */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
if (suppressThrows) { logger.log(Level.INFO, "exception thrown during tearDown", t); } else { if (exception == null) { exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
if (suppressThrows) { logger.log(Level.INFO, "exception thrown during tearDown", t); } else { if (exception == null) { exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
} public void testNoForwardingOfDefaultMethod() throws Exception { ExecutorService delegate = new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) { @Override public void close() { throw new AssertionError( "ForwardingExecutorService should have used the default method"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override 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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override 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
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/helper/SearchHelper.java
throw new SearchEngineClientException("Failed to update doc " + id, e); } } /** * Performs bulk update operations using a custom bulk request builder. * * @param consumer Consumer function to configure the bulk request builder * @return true if all bulk operations were successful, false otherwise
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
@Test @SuppressWarnings("CheckReturnValue") public void forTree_acceptsDirectedGraph() throws Exception { MutableGraph<String> graph = GraphBuilder.directed().build(); graph.putEdge("a", "b"); Traverser.forTree(graph); // Does not throw } @Test public void forTree_withUndirectedGraph_throws() throws Exception { MutableGraph<String> graph = GraphBuilder.undirected().build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 47.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
import org.opensearch.script.ScriptType; public class UpdateLabelJobTest extends UnitFessTestCase { private UpdateLabelJob updateLabelJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); updateLabelJob = new UpdateLabelJob(); // Setup mock components setupMockComponents(); } private void setupMockComponents() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
return this; } /** * Specifies the expected number of nodes in the graph. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) { this.expectedNodeCount = checkNonNegative(expectedNodeCount); return this; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0)