Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 492 for RuntimeException (0.2 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

                    )
                  val response2 = call2.execute()
                  assertThat(response2.body.string()).isEqualTo("call2 response")
                } catch (e: IOException) {
                  throw RuntimeException(e)
                }
              }
              return result
            }
    
            override fun peek(): MockResponse = queueDispatcher.peek()
    
            override fun close() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  2. docs/smb3-features/06-witness-protocol-design.md

                    }
                    
                } catch (Exception e) {
                    log.error("Failed to register for witness notifications", e);
                    throw new RuntimeException(e);
                }
            });
        }
        
        public CompletableFuture<Void> unregister(WitnessRegistration registration) {
            return CompletableFuture.runAsync(() -> {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

            identifier_authority = new byte[6];
            System.arraycopy(src, si, identifier_authority, 0, 6);
            si += 6;
            if (sub_authority_count > 100) {
                throw new RuntimeException("Invalid SID sub_authority_count");
            }
            sub_authority = new int[sub_authority_count];
            for (int i = 0; i < sub_authority_count; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  4. CLAUDE.md

    - Test method: `test{MethodName}`
    
    ## Naming Conventions
    
    | Type | Pattern |
    |------|---------|
    | Utility | `{Feature}Util.java` |
    | Conversion | `{Type}ConversionUtil.java` |
    | Exception | `{Name}RuntimeException.java` / `Cl{Name}Exception.java` |
    | Implementation | `{Interface}Impl.java` |
    
    ## Important Notes
    
    1. Always run `mvn test` after changes
    2. Run `mvn formatter:format` before committing
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top