Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CurlException (0.13 sec)

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

     */
    package org.codelibs.curl;
    
    public class CurlException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        public CurlException(final String message) {
            super(message);
        }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 950 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

            if (bodyStream != null) {
                throw new CurlException("body method is already called.");
            }
            this.body = body;
            return this;
        }
    
        public CurlRequest body(final InputStream stream) {
            if (body != null) {
                throw new CurlException("body method is already called.");
            }
            this.bodyStream = stream;
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

                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)
Back to top