- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for CurlException (0.1 seconds)
-
src/main/java/org/codelibs/curl/CurlException.java
* * <p>Usage examples:</p> * <pre> * throw new CurlException("Error message"); * throw new CurlException("Error message", cause); * </pre> * * @see RuntimeException */ public class CurlException extends RuntimeException { private static final long serialVersionUID = 1L; /** * Constructs a new CurlException with the specified detail message and cause. *
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Jul 05 01:38:18 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
CurlException exception = new CurlException(message); String toString = exception.toString(); assertNotNull(toString); assertTrue(toString.contains("CurlException")); assertTrue(toString.contains(message)); } @Test public void testStackTrace() { CurlException exception = new CurlException("Test message");Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
* @return the content as a string. * @throws CurlException if an error occurs while accessing the content. */ public String getContentAsString() { if (contentCache == null) { if (contentException != null) { throw new CurlException("Failed to access the content.", contentException); } throw new CurlException("Failed to access the content."); } try {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 6.8K bytes - Click Count (0) -
CLAUDE.md
│ │ ├── Curl.java # Static entry point with factory methods │ │ ├── CurlRequest.java # Fluent request builder │ │ ├── CurlResponse.java # Response wrapper (implements Closeable) │ │ ├── CurlException.java # Unchecked exception for HTTP errors │ │ └── io/ │ │ ├── ContentCache.java # In-memory or file-based caching │ │ └── ContentOutputStream.java # Threshold-based output stream
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
README.md
- `org.codelibs.curl.CurlRequest`: builder for HTTP requests. - `org.codelibs.curl.CurlResponse`: wrapper for HTTP responses. - `org.codelibs.curl.CurlException`: unchecked exception for errors. - `org.codelibs.curl.io.ContentCache` and `ContentOutputStream`: internal utilities for streaming and caching. Refer to the Javadoc for full API details. ## Building and Testing
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 2.5K bytes - Click Count (0)