- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 358 for RuntimeException (0.06 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
assertTrue("Error message should contain context about Word document or extraction", e.getMessage().contains("Word") || e.getMessage().contains("extract")); } catch (final RuntimeException e) { // POI may throw IllegalArgumentException or other RuntimeExceptions // for invalid data, which is also acceptable
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassAnalysisException.kt
*/ package gradlebuild.basics.classanalysis import org.gradle.internal.exceptions.Contextual @Contextual
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 821 bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testExceptionHandling() { // Given RuntimeException testException = new RuntimeException("Test exception"); when(mockDelegate.getResponseTimeout()).thenThrow(testException); // When & Then RuntimeException thrownException = assertThrows(RuntimeException.class, () -> { delegatingConfig.getResponseTimeout(); });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
} @Test @DisplayName("Should create SmbException with cause") void testSmbExceptionWithCause() { // Given Exception cause = new RuntimeException("Root cause"); String message = "SMB operation failed"; // When SmbException exception = new SmbException(message, cause); // Then assertNotNull(exception);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
session.release(); assertFalse(session.isInUse(), "Session should not be in use after all releases"); // Test multiple releases (should not throw) assertThrows(RuntimeException.class, () -> session.release(), "Additional release should throw RuntimeCIFSException"); } /** * Test tree creation and cleanup */ @Test @Timeout(5)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> { protected BadFuture(ListenableFuture<Integer> delegate) { super(delegate); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
.put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> { protected BadFuture(ListenableFuture<Integer> delegate) { super(delegate); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1); ListeningScheduledExecutorService service = listeningDecorator(delegate); RuntimeException ex = new RuntimeException(); ListenableFuture<?> future = service.schedule(new ThrowingRunnable(0, ex), 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(0, delegate.getQueue().size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0)