- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,922 for Try (0.02 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile(); URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 22 22:15:41 UTC 2023 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
) { latch.countDown() } @Throws(IOException::class) override fun onResponse( call: Call, response: Response, ) { try { Thread.sleep(500) } catch (e: InterruptedException) { throw AssertionError() } assertFailsWith<IOException> { response.body.source().readUtf8()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} static class ThrowsAtEndException extends RuntimeException { /* nothing */ } /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.isEqualTo(expected); } } public void testValueOfLong() { for (long value : TEST_LONGS) { boolean expectSuccess = value >= 0; try { assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) { assertThat(expectSuccess).isFalse(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java
protected CrawlerContainer crawlerContainer; @Override public void process(final ResponseData responseData) { final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper"); try (final InputStream responseBody = responseData.getResponseBody()) { final SitemapSet sitemapSet = sitemapsHelper.parse(responseBody); final Set<RequestData> requestDataSet = new LinkedHashSet<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
docs_src/websockets/tutorial003.py
@app.get("/") async def get(): return HTMLResponse(html) @app.websocket("/ws/{client_id}") async def websocket_endpoint(websocket: WebSocket, client_id: int): await manager.connect(websocket) try: while True: data = await websocket.receive_text() await manager.send_personal_message(f"You wrote: {data}", websocket) await manager.broadcast(f"Client #{client_id} says: {data}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 13:52:19 UTC 2020 - 2.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
.build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java
// searchName = Srl.substringFirstRear(classificationName, "."); // } else { // return null; // } //} //try { // return CDef.DefMeta.valueOf(searchName); //} catch (IllegalArgumentException ignored) { // not found // return null; // handled later //} } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
bindingMap.put("container", SingletonLaContainerFactory.getContainer()); final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap)); try { return groovyShell.evaluate(template); } catch (final JobProcessingException e) { throw e; } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 2K bytes - Viewed (0)