- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,053 for IOException (0.07 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
object : Callback { override fun onFailure( call: Call, e: IOException, ) { e.printStackTrace() } override fun onResponse( call: Call, response: Response, ) { response.use { if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/LoadControlFilter.java
return false; } /** * Sends a 429 JSON response for API requests. * @param response the HTTP response * @throws IOException if an I/O error occurs */ protected void sendApiResponse(final HttpServletResponse response) throws IOException { response.setStatus(429); response.setContentType("application/json;charset=UTF-8");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 4.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java
} @Override public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException { throw new IOException("Failed to visit " + file, exc); } }); } catch (IOException e) { throw new IllegalStateException(e); } return classes; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 17.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import javax.xml.stream.XMLStreamException; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collection; import java.util.List;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
} /** * Send a 403 Forbidden response for blocked IPs. * @param response the HTTP response * @throws IOException if an I/O error occurs */ protected void sendBlockedResponse(final HttpServletResponse response) throws IOException { response.setStatus(HttpServletResponse.SC_FORBIDDEN); response.setContentType("application/json;charset=UTF-8");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java
} } } catch (IOException ioException) { ioException.printStackTrace(); } } }); }); return checkMlCppNoticeTask; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
} // Error case: disconnect throws IOException @Test @DisplayName("disconnect throws IOException when underlying close fails") void disconnect_throwsIOException() throws Exception { doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true); java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.disconnect(true, true));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
Config.store(log, "JCIFS PROPERTIES"); } catch (final IOException ioe) {} } } /** * Handles file download requests for SMB files. * @param req the HTTP servlet request * @param resp the HTTP servlet response * @param file the SMB file to download * @throws IOException if an I/O error occurs */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* @param flags write operation flags * @throws IOException if an I/O error occurs */ public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException { if (len <= 0) { return; } if (this.tmp == null) { throw new IOException("Bad file descriptor"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0)