- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,453 for catch (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
try { AbstractExecutionThreadService.this.run(); } catch (Throwable t) { restoreInterruptIfIsInterruptedException(t); try { shutDown(); } catch (Exception ignored) { restoreInterruptIfIsInterruptedException(ignored);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
return certificates.single() as X509Certificate } catch (e: NoSuchElementException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
.socket(sslSocket.asBufferedSocket(), sslSocket.peerName()) .listener(this) .build() connection.start() } catch (e: IOException) { logger.log(Level.INFO, "Http2Server connection failure: $e") socket?.closeQuietly() } catch (e: Exception) { logger.log(Level.WARNING, "Http2Server unexpected failure", e) socket?.closeQuietly() } } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
call: Call, response: Response, ) { processResponse(response, hostname, responses, failures) latch.countDown() } }, ) } try { latch.await() } catch (e: InterruptedException) { failures.add(e) } } private fun processResponse( response: Response, hostname: String,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
.stdErr(stdErr) .embedded(embedded) .build())); } catch (InvokerException.ExitException e) { return e.getExitCode(); } catch (Exception e) { // last resort; as ideally we should get ExitException only new SystemLogger(stdErr).error(e.getMessage(), e); return 1;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java
} catch (InvalidVersionSpecificationException e) { throw new IllegalArgumentException("Invalid 'requiredJavaVersion' given in plugin descriptor", e); } Version current; try { current = versionScheme.parseVersion(currentVersion); } catch (InvalidVersionSpecificationException e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
} private static Method subscriberMethod() { try { return DummySubscriber.class.getMethod("handle", Object.class); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java
ConfigurableFileCollection additionalJapicmpClasspath = (ConfigurableFileCollection) additionalJapicmpClasspathField.get(this); additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable()); } catch (Exception e) { throw new RuntimeException("Got an error while patching JapicmpTask task", e); } } private Configuration resolveKotlinCompilerEmbeddable() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
& expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0; try { assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode)); assertTrue(isInBounds); } catch (ArithmeticException e) { assertFalse(isInBounds); } } } } @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode) public void testRoundFractionalDoubleToInt() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java
*/ public void write(Writer writer, Metadata metadata) throws java.io.IOException { try { delegate.write(writer, metadata.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } /** * Method write. * * @param stream a stream object * @param metadata a Metadata objectCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0)