- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 385 for RuntimeException (0.18 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/Streams.java
if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.ui.prefs
name\="annotationbody">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">throw new RuntimeException(${exception_var});</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">$...
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
final BooleanFunction<Map<String, Object>> cursor) { throw new RuntimeException("Search engine error"); } }; final FessConfig fessConfig = new TestFessConfig(tempDir.toString(), "cache", "100"); ComponentUtil.register(searchEngineClient, "searchEngineClient");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) { ioe = e } catch (e: InterruptedException) { throw RuntimeException(e) } } } @Test fun requestBodyMultipleFailuresReportedOnlyOnce() { val requestBody: RequestBody = object : RequestBody() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertEquals(valueToPut, map.get(null)); assertTrue(map.containsKey(null)); assertTrue(map.containsValue(valueToPut)); } else { assertThrows(RuntimeException.class, () -> map.put(null, valueToPut)); } assertInvariants(map); } public void testPutNullValue() { if (!supportsPut) { return; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
*/ @GuardedBy("lock") private boolean isSatisfied(Guard guard) { try { return guard.isSatisfied(); } catch (Throwable throwable) { // Any Exception is either a RuntimeException or sneaky checked exception. signalAllWaiters(); throw throwable; } } /** Signals all threads waiting on guards. */ @GuardedBy("lock")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Test void testReadStringWithMaxLengthExceeded() { smb.useUnicode = false; byte[] buffer = "a very long string that exceeds max length".getBytes(); assertThrows(RuntimeException.class, () -> { smb.readString(buffer, 0, 10, false); }); } @Test void testEncodeDecode() { // Setup SMB with some dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
() -> Types.newArtificialTypeVariable(List.class, "E", int.class)); } public void testNewTypeVariable_serializable() throws Exception { assertThrows( RuntimeException.class, () -> SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E"))); } private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
.waitingFor(Wait.forListeningPorts(SMB_PORT).withStartupTimeout(Duration.ofMinutes(2))); } catch (IOException e) { throw new RuntimeException("Failed to setup test directories", e); } } else { sambaContainer = null; } } @BeforeAll void setupContainer() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
@Test fun unexpectedExceptionSync() { client = client .newBuilder() .dns { hostname: String? -> throw RuntimeException("boom!") } .build() server.enqueue(MockResponse()) assertFailsWith<RuntimeException> { getResponse(newRequest("/")) }.also { expected -> assertThat(expected.message).isEqualTo("boom!") } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)