- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 492 for RuntimeException (0.14 seconds)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx); // Act & Assert: calling release without prior acquire drops usage below zero RuntimeException ex = assertThrows(RuntimeException.class, trace::release); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
try { Field f = findField(target.getClass(), name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } } // Utility: reflectively get a private/protected field (searches up the hierarchy) private static Object getField(Object target, String name) { try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
return () -> { try { wrapped.call(); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throwIfUnchecked(e); throw new RuntimeException(e); } }; } /** * Wraps a collection of tasks. * * @throws NullPointerException if any element of {@code tasks} is null */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
@Override protected int getRunningJobCount() { return 0; } @Override protected void executeCrawler() { throw new RuntimeException("Test exception"); } }; ComponentUtil.setFessConfig(new TestFessConfig() { @Override public Integer getJobMaxCrawlerProcessesAsInteger() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation); } catch (URISyntaxException e) { throw new RuntimeException(e); } } private static DokkaExtension getDokkaExtension(Project project) { return project.getExtensions().getByType(DokkaExtension.class); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 28 11:34:42 GMT 2025 - 7.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java
String previousFileText = readFileToString(prevFile, "UTF-8"); if (previousFileText.equals(readFileToString(file, "UTF-8")) == false) { throw new RuntimeException( "Two different notices exist for dependency '" + name + "': " + prevFile + " and " + file ); } } else {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0)