- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for IOException (0.04 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertSame(exception, e.getCause()); } catch (IOException e) { fail("Should throw CurlException, not IOException"); } } @Test public void testGetContentWithParser() throws IOException { CurlResponse response = new CurlResponse(); response.setEncoding("UTF-8"); String testContent = "42";
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.codelibs.curl.Curl; import org.junit.Test; public class ContentOutputStreamTest { @Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 });Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
conn.connect(); fail("Should throw IOException"); } catch (IOException e) { assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank")); } // Second call should also fail with the same error try { conn.connect(); fail("Should throw IOException"); } catch (IOException e) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
* * @throws IOException if an I/O error occurs (not thrown in this implementation) */ @Override public void close() throws IOException { // inputStream.close(); } /** * Returns the number of bytes that can be read from this input stream without blocking. * * @return the number of bytes available * @throws IOException if an I/O error occurs */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// Should throw IOException when file doesn't exist try { cache.close(); fail("Expected IOException for non-existent file"); } catch (IOException e) { // Expected - file doesn't exist } } @Test public void testMemoryCacheWithBinaryData() throws IOException { // Test with binary data containing all byte valuesRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
} public void testGetClassPathFromManifest_noClassPath() throws IOException { File jarFile = new File("base.jar"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); } public void testGetClassPathFromManifest_emptyClassPath() throws IOException { File jarFile = new File("base.jar");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 25.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
* * @param u The URL to open a connection to * @return A new S3URLConnection instance * @throws IOException If the connection cannot be opened */ @Override protected URLConnection openConnection(final URL u) throws IOException { return new S3URLConnection(u); } /** * S3URLConnection is a URL connection implementation for accessing S3 objects.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
* * @param in the input stream containing the new mapping file content * @throws IOException if an I/O error occurs during the update */ public synchronized void update(final InputStream in) throws IOException { try (MappingUpdater updater = new MappingUpdater(null)) { reload(updater, in); } } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
* * @param u The URL to open a connection to * @return A new StorageURLConnection instance * @throws IOException If the connection cannot be opened */ @Override protected URLConnection openConnection(final URL u) throws IOException { return new StorageURLConnection(u); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:52:56 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0)