- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 324 for Cause (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
} catch (e: IllegalAccessException) { throw AssertionError(e) } catch (e: InvocationTargetException) { // https://github.com/square/okhttp/issues/5587 val cause = e.cause when { cause is NullPointerException && cause.message == "ssl == null" -> null else -> throw AssertionError(e) } } } companion object { val playProviderFactory: DeferredSocketAdapter.Factory =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
} } catch (ite: InvocationTargetException) { if (!expectedFailure(className, ite.cause!!)) { throw ite.cause!! } } } @Suppress("UNUSED_PARAMETER") private fun expectedFailure( className: String, cause: Throwable, ): Boolean { return when (className) { "okhttp3.recipes.CheckHandshake" -> true // by design
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) { assertThat(ioe.message).isEqualTo("google.com") val cause = ioe.cause!! assertThat(cause).isInstanceOf<IOException>() assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes") } } @Test fun failOnBadResponse() { server.enqueue(dnsResponse("00"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
assertEquals(200, response.code) assertEquals("h3", response.negotiatedProtocol) assertTrue(response.content.contains("Disallow")) } catch (ee: ExecutionException) { throw ee.cause?.cause ?: ee.cause!! } } data class Response( val code: Int, val negotiatedProtocol: String, val content: String, ) private fun execute( engine: HttpEngine,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 24 13:19:43 GMT 2024 - 6.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt
* * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it. */ object ShutdownInputAtEnd : SocketPolicy /** * Shutdown the socket output after sending the response. For testing bad behavior. * * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it. */ object ShutdownOutputAtEnd : SocketPolicy
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 4.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt
PluginEntry(id, implementationClass) }.toList() } } catch (cause: IOException) { throw IllegalArgumentException( "Failed to extract plugin metadata from '" + jar.path + "'", cause ) } private fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 1.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassAnalysisException.kt
*/ package gradlebuild.basics.classanalysis import org.gradle.internal.exceptions.Contextual @Contextual
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 821 bytes - Viewed (0) -
docs/kms/IAM.md
the vast majority of deployments in any negative way. > Will an upgrade of an existing MinIO cluster impact the SLA of the cluster or will it even cause downtime? No, an upgrade should not cause any downtime. However, on the first startup - since MinIO will attempt to migrate any existing IAM data - the boot process may take slightly longer, but may not be visibly noticeable. Once the migration has
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
} } return null } private fun <E : IOException?> timeoutExit(cause: E): E { if (timeoutEarlyExit) return cause if (!timeout.exit()) return cause val e = InterruptedIOException("timeout") if (cause != null) e.initCause(cause) @Suppress("UNCHECKED_CAST") // E is either IOException or IOException? return e as E } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
// https://github.com/square/okhttp/issues/5840 when (ioe.cause) { is IllegalArgumentException -> { assertEquals("Android internal error", ioe.message) } is CertificateException -> { assertTrue(ioe.cause?.cause is IllegalArgumentException) assertEquals(true, ioe.cause?.cause?.message?.startsWith("Invalid input to toASCII")) } else -> throw ioe
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1)