- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,053 for IOException (0.14 seconds)
-
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
e.getMessage()); } } @Test void testIOException() throws Exception { Source src = mock(Source.class); IOException ioException = new IOException("MESSAGE"); doThrow(ioException).when(src).getInputStream(); doReturn("LOCATION").when(src).getLocation(); ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000); ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); IOException error = new IOException("Test error"); // Should not throw exception assertDoesNotThrow(() -> channelManager.handleChannelFailure(channel, error)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt
*/ package okhttp3 import java.io.IOException import okio.BufferedSink open class ForwardingRequestBody( delegate: RequestBody?, ) : RequestBody() { private val delegate: RequestBody fun delegate(): RequestBody = delegate override fun contentType(): MediaType? = delegate.contentType() @Throws(IOException::class) override fun contentLength(): Long = delegate.contentLength()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} } catch (XMLStreamException | IOException e) { throw new PlexusConfigurationException(e.getMessage(), e); } } private static BufferedInputStream reset(StreamSupplier inputSupplier, BufferedInputStream bis) throws IOException { try { bis.reset(); return bis; } catch (IOException e) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java
* * @param handle the DCERPC handle * @param server the server name * @param access the access rights * @throws IOException if an I/O error occurs */ public LsaPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException { this.handle = handle; if (server == null) { server = "\\\\"; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
* @param access the desired access rights * @param sid the security identifier of the domain * @throws IOException if an I/O error occurs during handle creation */ public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid) throws IOException { this.handle = handle;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.v4; import javax.xml.stream.XMLStreamException; 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.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link Reader} operations. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
* * <p>Usage examples:</p> * <pre> * throw new SuggesterException("An error occurred"); * throw new SuggesterException(new IOException("IO error")); * throw new SuggesterException("An error occurred", new IOException("IO error")); * </pre> * * @see RuntimeException */ public class SuggesterException extends RuntimeException { private static final long serialVersionUID = 1L;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.codelibs.core.io.InputStreamUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.mylasta.direction.FessConfig;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0)