- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 2,098 for try (0.03 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
* detail is invisible to the caller, but subtle use of certain APIs may depend on these internal * structures. * * We make such subtle calls in [okhttp3.internal.ws.MessageInflater] because we try to read a * compressed stream that is terminated in a web socket frame even though the DEFLATE stream is * not terminated. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
.addQueryParameter("redirect_uri", redirectUrl.toString()) .build(); Request request = new Request.Builder() .url(url) .build(); Call call = httpClient.newCall(request); try (Response response = call.execute()) { JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class); return jsonAdapter.fromJson(response.body().source()); } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
} byte[] content; try (ASN1InputStream stream = new ASN1InputStream(token)) { content = ASN1Util.readUnparsedTagged(0, 0x8000, stream); } catch (IOException e) { throw new PACDecodingException("Malformed kerberos token", e); } try (ASN1InputStream stream = new ASN1InputStream(content)) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
try { model = modelProcessor.read(modelSource.getInputStream(), options); } catch (ModelParseException e) { if (!strict) { throw e; } options.put(ModelProcessor.IS_STRICT, Boolean.FALSE); try {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:08 UTC 2025 - 55.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
boolean isInBounds = expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0 & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0; try { assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode)); assertTrue(isInBounds); } catch (ArithmeticException e) { assertFalse(isInBounds); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
extension.entry().getClassRealm(), new AbstractModule() { @Override protected void configure() { try { container .lookup(Injector.class) .discover(extension.entry().getClassRealm());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 14.3K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
parameters.projectStates.get() .filter { projectPathToLeftoverFiles.containsKey(it.key) } .forEach { (projectPath: String, projectExtension: TestFilesCleanupProjectState) -> try { projectExtension.verifyTestFilesCleanup(projectPath, projectPathToLeftoverFiles.getValue(projectPath)) } catch (e: Exception) { exceptions.add(e) }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Nov 05 11:43:49 UTC 2025 - 12.5K bytes - Viewed (1) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
"007070038026e7303746c64c01b0a686f73746d61737465720d6565737469696e7465726e6574c01b5adb1" + "2c100000e10000003840012750000000e10", ), ) try { dns.lookup("google.com") fail<Any>() } catch (uhe: UnknownHostException) { assertThat(uhe.message).isEqualTo("google.com: NXDOMAIN") } val recordedRequest = server.takeRequest()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
public String interpolate(String value) { if (value != null && value.contains("${")) { String c = cache.get(value); if (c == null) { try { c = interpolator.interpolate(value, recursionInterceptor); } catch (InterpolationException e) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 15.6K bytes - Viewed (0)