- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 364 for RuntimeException (0.06 sec)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
}.socketFactory companion object { val isSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader) when { // Bump this version if we ever have a binary incompatibilityRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
java.util.function.BiFunction<org.opensearch.action.update.UpdateRequestBuilder, org.opensearch.search.SearchHit, org.opensearch.action.update.UpdateRequestBuilder> processor) { throw new RuntimeException("Test exception"); } }; ComponentUtil.register(exceptionClient, "searchEngineClient"); String result = updateLabelJob.execute(); assertNotNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
verify(response).getException(); } @Test @DisplayName("Test Response interface methods - exception") void testException() { // Given Exception ex = new RuntimeException("Runtime error"); doNothing().when(response).exception(ex); // When response.exception(ex); // Then verify(response).exception(ex); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (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; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
final int start = bufferIndex; version = readInt2(buffer, bufferIndex); if (version != 3 && version != 1) { throw new RuntimeException("Version " + version + " referral not supported. Please report this to jcifs at samba dot org."); } bufferIndex += 2; size = readInt2(buffer, bufferIndex); bufferIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
return knownLoggers[loggerName] ?: loggerName.take(23) } fun enable() { try { for ((logger, tag) in knownLoggers) { enableLogging(logger, tag) } } catch (re: RuntimeException) { System.err.println("Possibly running android unit test without robolectric") re.printStackTrace() } } private fun enableLogging( logger: String, tag: String, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:03:31 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
statusField.setAccessible(true); statusField.set(this, status); } catch (Exception e) { throw new RuntimeException(e); } } public void setFlagsForTest(int flags) { // Workaround: Use reflection to set private flags field try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)