- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 326 for Try (0.14 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
InputStream inputStream = request.getInputStream(); if (reader == null && inputStream == null) { throw new IllegalArgumentException("reader or inputStream must be non null"); } try { InputSource source = null; if (request.getModelId() != null || request.getLocation() != null) { source = new InputSource(request.getModelId(), request.getLocation()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.8K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
HttpLoggingInterceptor.androidLogging(tag = "testHttpLoggingInterceptor").apply { level = HttpLoggingInterceptor.Level.BASIC } val client = clientBuilder.addInterceptor(interceptor).build() try { client.newCall(request).execute() } catch (uhe: UnknownHostException) { // expected } val logs = ShadowLog.getLogsForTag("testHttpLoggingInterceptor")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
object : Callback { override fun onResponse( call: Call, response: Response, ) { val exchange = response.exchange val streams: Streams try { checkUpgradeSuccess(response, exchange) streams = exchange!!.newWebSocketStreams() } catch (e: IOException) { failWebSocket(e, response) response.closeQuietly()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} }, ) } try { latch.await() } catch (e: InterruptedException) { failures.add(e) } } private fun processResponse( response: Response, hostname: String, results: MutableList<InetAddress>, failures: MutableList<Exception>, ) { try { val addresses = readResponse(hostname, response)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 9.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java
Versioning versioning = null; try { if (metadata != null) { try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) { syncContext.acquire(null, Collections.singleton(metadata)); if (metadata.getPath() != null && Files.exists(metadata.getPath())) { try (InputStream in = Files.newInputStream(metadata.getPath())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java
InputStream inputStream = request.getInputStream(); if (reader == null && inputStream == null) { throw new IllegalArgumentException("reader or inputStream must be non null"); } try { InputSource source = null; if (request.getModelId() != null || request.getLocation() != null) { source = new InputSource(request.getLocation()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
@AndroidIncompatible // ClassPath is documented as not supporting Android public void testScan_classPathCycle() throws IOException { File jarFile = File.createTempFile("with_circular_class_path", ".jar"); try { writeSelfReferencingJarFile(jarFile, "test.txt"); assertThat( new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader()) .scanResources()) .hasSize(1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 26 14:02:27 GMT 2024 - 24.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
@SuppressWarnings("unchecked") private <T> T createProxy(Key<T> key, Provider<T> unscoped) { InvocationHandler dispatcher = (proxy, method, args) -> { method.setAccessible(true); try { return method.invoke(getScopeState().scope(key, unscoped).get(), args); } catch (InvocationTargetException e) { throw e.getCause(); } };
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0)