Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 358 for RuntimeException (1.18 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        override fun writeTo(sink: BufferedSink) {
          executorService.schedule({
            try {
              delegate.writeTo(sink)
              sink.close()
            } catch (e: IOException) {
              throw RuntimeException(e)
            }
          }, delayMillis, TimeUnit.MILLISECONDS)
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. android/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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                        content = content.replaceAll(rule.getKey(), rule.getValue());
                    }
                    resultData.setData(content.getBytes());
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
    
                return resultData;
            }
    
            @Override
            public Object getData(AccessResultData<?> accessResultData) {
                if (accessResultData == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

         */
        protected ExtractData getExtractData(final Extractor extractor, final InputStream in, final Map<String, String> params) {
            try {
                return extractor.getText(in, params);
            } catch (final RuntimeException e) {
                if (!fessConfig.isCrawlerIgnoreContentException()) {
                    throw e;
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Could not get a text.", e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Optional.java

       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
       *     false}); depending on this <i>specific</i> exception type (over the more general {@link
       *     RuntimeException}) is discouraged
       */
      public abstract T get();
    
      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Verify.java

     *   <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still
     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
     *       RuntimeException} is frowned upon.
     *   <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
     *       {@link #verifyNotNull(Object)} and {@link Preconditions#checkNotNull(Object)} perform the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private V load(K key) throws ExecutionException {
        long startTime = ticker.read();
        V calculatedValue;
        try {
          calculatedValue = loader.load(key);
          put(key, calculatedValue);
        } catch (RuntimeException e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                @Override
                public void onDestroy(PooledObject<CloseableTestComponent> p) {
                    throw new RuntimeException("Test exception in listener");
                }
            };
    
            CrawlerPooledObjectFactory<CloseableTestComponent> factoryWithListener = createFactory("closeableComponent", listener);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. gradle/wrapper/gradle-wrapper.jar

    Gradle Wrapper SPDX-License-Identifier: Apache-2.0 Main-Class: org.gradle.wrapper.GradleWrapperMain Enable-Native-Access: ALL-UNNAMED org/gradle/cli/CommandLineArgumentE.class package org.gradle.cli; public final class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); } org/gradle/cli/CommandLineOption.class package org.gradle.cli; public final class CommandLineOption { public final java.util.HashSet options; public Class argumentType; public String description;...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 01:56:29 UTC 2025
    - 44.6K bytes
    - Viewed (1)
Back to top