Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 492 for RuntimeException (0.37 seconds)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

        public void test_execute_pingException() {
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
                public PingResponse ping() {
                    throw new RuntimeException("Connection failed");
                }
            };
    
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                public String getHostname() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
        get() = gradleProperty(RERUN_ALL_TESTS).map { true }.orElse(false)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  4. .teamcity/.mvn/wrapper/maven-wrapper.jar

    public java.util.Map convert(ParsedCommandLine, java.util.Map) throws CommandLineArgumentE; } org/apache/maven/wrapper/cli/CommandLineArgumentE.class package org.apache.maven.wrapper.cli; public synchronized class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); public void CommandLineArgumentE(String, Throwable); } org/apache/maven/wrapper/cli/CommandLineConverter.class package org.apache.maven.wrapper.cli; public abstract interface CommandLineConverter {...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

              Interceptor { chain: Interceptor.Chain ->
                ready.countDown()
                try {
                  proceed.await(5, TimeUnit.SECONDS)
                } catch (e: InterruptedException) {
                  throw RuntimeException(e)
                }
                chain.proceed(chain.request())
              },
            ).build()
        val t1 = makeSynchronousCall(client.newCall(newRequest("http://a/3")))
        ready.await(5, TimeUnit.SECONDS)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.destroy();
            assertTrue(hookExecuted.get());
        }
    
        @Test
        public void test_destroy_withException() {
            systemHelper.addShutdownHook(() -> {
                throw new RuntimeException("test exception");
            });
            try {
                systemHelper.destroy();
                assertTrue(true);
            } catch (Exception e) {
                fail("Exception should be caught and not propagated");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/Config.java

        public static void registerSmbURLHandler() {
            String ver, pkgs;
    
            ver = System.getProperty("java.version");
            if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) {
                throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver);
            }
            pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            TestIngester failingIngester = new TestIngester() {
                @Override
                public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) {
                    throw new RuntimeException("Test exception");
                }
            };
            ingestFactory.ingesters.add(failingIngester);
            ComponentUtil.register(ingestFactory, "ingestFactory");
    
            // Reinitialize to pick up factory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public static final WithExceptionalConstructor INSTANCE =
            new WithExceptionalConstructor("whatever");
    
        public WithExceptionalConstructor() {
          throw new RuntimeException();
        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top