- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for setContentException (0.12 seconds)
-
src/main/java/org/codelibs/curl/CurlResponse.java
this.encoding = encoding; } /** * Sets the exception that occurred while accessing the content. * * @param e the exception to set. */ public void setContentException(final Exception e) { contentException = e; } /** * Gets the exception that occurred while accessing the content, if any. *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) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testContentException() { CurlResponse response = new CurlResponse(); Exception exception = new IOException("Test exception"); response.setContentException(exception); assertSame(exception, response.getContentException()); } @Test public void testHeaders() { CurlResponse response = new CurlResponse();Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
contentCache = new ContentCache(dfos.getFile()); } response.setContentCache(contentCache); } catch (final Exception e) { response.setContentException(e); throw new CurlException("Failed to write a response.", e); } } }
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0)