Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,652 for throwIt (0.07 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

            } catch (final Exception e) {
                throw new CurlException("Failed to access the content.", e);
            }
        }
    
        public InputStream getContentAsStream() throws IOException {
            if (contentCache == null) {
                if (contentException != null) {
                    throw new CurlException("The content does not exist.", contentException);
                } else {
                    throw new CurlException("The content does not exist.");
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

      public void run() throws Exception {
        File file = new File("README.md");
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(file, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    ) : CertificateChainCleaner() {
      /**
       * Returns a cleaned chain for [chain].
       *
       * This method throws if the complete chain to a trusted CA certificate cannot be constructed.
       * This is unexpected unless the trust root index in this class has a different trust manager than
       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            this.settingsBuilder = settingsBuilder;
            this.settingsDecrypter = settingsDecrypter;
        }
    
        @Override
        public void process(CliRequest cliRequest) throws Exception {
            CommandLine commandLine = cliRequest.getCommandLine();
            String workingDirectory = cliRequest.getWorkingDirectory();
            MavenExecutionRequest request = cliRequest.getRequest();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                }
    
            } catch (final Exception e) {
                throw new IllegalArgumentException("failed to build synonyms", e);
            }
        }
    
        private Reader getReader(final boolean reload) throws IOException {
            if (reload) {
                if (reloadableFile == null) {
                    throw new IllegalArgumentException("reloadableFile is null.");
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to remove ALPN", e)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
            "Predicate did not become true within %d second timeout", timeoutSeconds);
      }
    
      /**
       * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero,
       * invoking the garbage collector as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

            return queryBuilder.rewrite(queryShardContext);
        }
    
        @Override
        public void visit(final QueryBuilderVisitor visitor) {
            queryBuilder.visit(visitor);
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
       *     long}, i.e. when {@code x > 2^62}
       * @since 20.0
       */
      public static long ceilingPowerOfTwo(long x) {
        checkPositive("x", x);
        if (x > MAX_SIGNED_POWER_OF_TWO) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top