- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,797 for throwIf (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() { throw new NoSuchElementException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener, ) : RequestBody() { override fun contentType() = delegate.contentType() @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} @Test public void test_ingest_withException() { // Setup ingester that throws exception TestIngester failingIngester = new TestIngester() { @Override public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) { throw new RuntimeException("Test exception"); } };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
* * @param in the input stream containing the new mapping file content * @throws IOException if an I/O error occurs during the update */ public synchronized void update(final InputStream in) throws IOException { try (MappingUpdater updater = new MappingUpdater(null)) { reload(updater, in); } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
// Test that execute throws InvalidQueryException when query is not a BoostQuery TermQuery termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { boostQueryCommand.execute(context, termQuery, 1.0f); fail("Should have thrown InvalidQueryException"); } catch (InvalidQueryException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
* @param response The HTTP response. * @param chain The filter chain. * @throws IOException If an I/O error occurs. * @throws ServletException If a servlet error occurs. */ protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain) throws IOException, ServletException { if (!acceptHttpMethod(request, GET)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
throw new SQLRuntimeException(ex); } } /** * Moves the cursor to the specified position. * * @param resultSet * The result set. Must not be {@literal null}. * @param index * The position. * @return Whether the cursor successfully moved to the specified position. * @throws SQLRuntimeException
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
private int count; private String names = ""; /** * @throws Exception */ @Before public void setUp() throws Exception { DisposableUtil.dispose(); } /** * @throws Exception */ @Test public void test1() throws Exception { DisposableUtil.add(new TestDisposable("a"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0)