- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 492 for RuntimeException (0.07 seconds)
-
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
public void test_execute_withIOException() { // Create mock SearchEngineClient that throws IOException wrapped in RuntimeException searchEngineClient = new SearchEngineClient() { @Override public long deleteByQuery(String index, QueryBuilder query) { throw new RuntimeException("IO error occurred during delete operation"); } };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @throws ExecutionException if {@code callable} throws a checked exception * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException} * @throws ExecutionError if {@code callable} throws an {@code Error} * @since 22.0 */ @CanIgnoreReturnValue @ParametricNullness <T extends @Nullable Object> T callWithTimeout(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
static final class YetAnotherCheckedException extends Exception {} static final class SomeUncheckedException extends RuntimeException {} static final class SomeChainingException extends RuntimeException { public SomeChainingException(Throwable cause) { super(cause); } } private TestExceptions() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
} } @Test public void test_throwAndCatchAsRuntimeException() { // Test catching as RuntimeException String errorMessage = "LDAP search base is missing"; try { throw new LdapConfigurationException(errorMessage); } catch (RuntimeException e) { assertEquals(errorMessage, e.getMessage()); assertTrue(e instanceof LdapConfigurationException);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
// Test constructor with status code, message, and cause int statusCode = 500; String message = "Internal server error"; Exception cause = new RuntimeException("Database connection failed"); WebApiException exception = new WebApiException(statusCode, message, cause); assertEquals(statusCode, exception.getStatusCode());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
@Override public void deleteBefore(long time) { throw new RuntimeException("Crawling error"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) { throw new RuntimeException("Search error"); } };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } @Test public void test_constructorWithMessage() { // Test constructor with message only String message = "Search query is invalid";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0)