- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 842 for IOException (0.2 sec)
-
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));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readPacketType should throw IOException on EOF") void testReadPacketTypeEOF() { ByteArrayInputStream bais = new ByteArrayInputStream(new byte[0]); byte[] buffer = new byte[10]; IOException exception = assertThrows(IOException.class, () -> { SessionServicePacket.readPacketType(bais, buffer, 0); });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} throw new IOException(); } /** * @param msg * @param in * @param off * @param isDirect * @return * @throws IOException * @throws DcerpcException * @throws NdrException */ private byte[] receiveMoreFragments(final DcerpcMessage msg, byte[] in) throws IOException, DcerpcException, NdrException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
* @param access the desired access rights * @param rid the relative identifier of the alias * @throws IOException if an I/O error occurs during handle creation */ public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid) throws IOException { this.handle = handle;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt
open class DelegatingServerSocketFactory( private val delegate: ServerSocketFactory, ) : ServerSocketFactory() { @Throws(IOException::class) override fun createServerSocket(): ServerSocket { val serverSocket = delegate.createServerSocket() return configureServerSocket(serverSocket) } @Throws(IOException::class) override fun createServerSocket(port: Int): ServerSocket { val serverSocket = delegate.createServerSocket(port)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
writeBytesMaximum += delta if (delta > 0L) { notifyAll() } } @Throws(IOException::class) internal fun checkOutNotClosed() { when { sink.closed -> throw IOException("stream closed") sink.finished -> throw IOException("stream finished") errorCode != null -> throw errorException ?: StreamResetException(errorCode!!) } } /**Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @Test @DisplayName("mechanism token empty array – preserved after round‑trip")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.filter; import java.io.IOException; import org.codelibs.fess.cors.CorsHandler; import org.codelibs.fess.cors.CorsHandlerFactory; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0)