- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 2,742 for throws (0.05 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
.build(); public void run() throws Exception { Request washingtonPostRequest = new Request.Builder() .url("https://www.washingtonpost.com/") .build(); client.newCall(washingtonPostRequest).enqueue(new Callback() { @Override public void onFailure(Call call, IOException e) { } @Override public void onResponse(Call call, Response response) throws IOException {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
* overriding [.configureSocket]. */ open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() { @Throws(IOException::class) override fun createSocket(): Socket { val socket = delegate.createSocket() return configureSocket(socket) } @Throws(IOException::class) override fun createSocket( host: String, port: Int, ): Socket {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
stack.addTearDown( new TearDown() { @Override public void tearDown() throws Exception { ExampleClassUnderTest.logger.setUseParentHandlers(true); ExampleClassUnderTest.logger.removeHandler(handler); } }); } public void test() throws Exception { assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids); handle.sendrecv(rpc); switch ( rpc.retval ) { case 0: case NtStatus.NT_STATUS_NONE_MAPPED: case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED break; default: throw new SmbException(rpc.retval, false); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
@Override protected void setUp() throws Exception { super.setUp(); server = new TestApiExtractorServer(port); server.start(); extractor = new ApiExtractor(); extractor.setUrl("http://127.0.0.1:" + port + "/"); extractor.init(); } @Override protected void tearDown() throws Exception { server.stop(); extractor.destroy();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
} } @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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
return getCanonicalPath(topDirectory); } @Nullable protected Path getRootDirectory(LocalContext context) throws ParserException { return Utils.findRoot(context.topDirectory); } protected Map<String, String> populateSystemProperties(LocalContext context) throws ParserException { Properties systemProperties = new Properties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
super(factory, data, suiteName, caseDesc, method); } @Override protected void setUp() throws Exception { sink = factory.createSink(); } public void testOpenStream() throws IOException { OutputStream out = sink.openStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
super(factory, data, suiteName, caseDesc, method); } @Override protected void setUp() throws Exception { sink = factory.createSink(); } public void testOpenStream() throws IOException { OutputStream out = sink.openStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
@Override public int read(CharBuffer cbuf) throws IOException { return reader.read(cbuf); } }; } private static Reader getChunkedReader(String input, final int chunk) { return new FilterReader(new StringReader(input)) { @Override public int read(char[] cbuf, int off, int len) throws IOException { return super.read(cbuf, off, min(chunk, len)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0)