- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 842 for IOException (0.13 sec)
-
src/test/java/org/codelibs/curl/CurlExceptionTest.java
assertTrue(exception instanceof RuntimeException); } @Test public void testConstructorWithMessageAndCause() { String message = "Test error message"; IOException cause = new IOException("IO error"); CurlException exception = new CurlException(message, cause); assertEquals(message, exception.getMessage()); assertSame(cause, exception.getCause());
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K 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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.lang.reflect.Field; import java.util.Collection; import java.util.Map; import org.jspecify.annotations.Nullable; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failedChannel.setState(ChannelState.ESTABLISHED); when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer); } @Test void testHandleFailure() { IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error); assertEquals(ChannelState.FAILED, failedChannel.getState()); verify(mockChannelManager).removeChannel(failedChannel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
user.addPlanToCancel(this) try { user.connectStart(route) connectSocket() success = true return ConnectResult(plan = this) } catch (e: IOException) { // If we used the ProxySelector, and got a IOException during connect, report the failure. if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a token that has an incorrect OID. * * @throws IOException if an I/O error occurs */ @Test void testConstructorWithWrongOid() throws IOException { byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
if (this.handle.isStale()) { throw new IOException("DCERPC pipe is no longer open"); } int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv()); final int fraglen = Encdec.dec_uint16le(inB, 8); if (fraglen > getMaxRecv()) { throw new IOException("Unexpected fragment length: " + fraglen); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
asCharSink(to, charset, FileWriteMode.APPEND).write(from); } /** * Returns true if the given files exist, are not directories, and contain the same bytes. * * @throws IOException if an I/O error occurs */ public static boolean equal(File file1, File file2) throws IOException { checkNotNull(file1); checkNotNull(file2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix); tempFile.deleteOnExit(); markForDeletion(tempFile); return tempFile; } public void cleanUp() throws IOException { for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
String message = "SSO provider communication error"; // Test with IOException IOException ioException = new IOException("Network error"); SsoLoginException exception1 = new SsoLoginException(message, ioException); assertEquals(message, exception1.getMessage()); assertTrue(exception1.getCause() instanceof IOException); // Test with IllegalArgumentException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0)