Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for UnsupportedOperationException (0.28 sec)

  1. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

      override fun shutdownNow(): List<Runnable> {
        throw UnsupportedOperationException()
      }
    
      override fun isShutdown(): Boolean {
        return shutdown
      }
    
      override fun isTerminated(): Boolean {
        throw UnsupportedOperationException()
      }
    
      override fun awaitTermination(
        timeout: Long,
        unit: TimeUnit,
      ): Boolean {
        throw UnsupportedOperationException()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

      internal val delegate = QueueDispatcher()
    
      @Throws(InterruptedException::class)
      override fun dispatch(request: RecordedRequest): MockResponse {
        throw UnsupportedOperationException("unexpected call")
      }
    
      override fun peek(): MockResponse {
        throw UnsupportedOperationException("unexpected call")
      }
    
      fun enqueueResponse(response: MockResponse) {
        delegate.enqueueResponse(response.wrap())
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Oct 18 12:55:43 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      override fun getApplicationBufferSize(): Int {
        throw UnsupportedOperationException()
      }
    
      override fun getCipherSuite(): String {
        throw UnsupportedOperationException()
      }
    
      override fun getCreationTime(): Long {
        throw UnsupportedOperationException()
      }
    
      override fun getId(): ByteArray {
        throw UnsupportedOperationException()
      }
    
      override fun getLastAccessedTime(): Long {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun getPriority(): Int = 1
    
        override fun setPriority(priority: Int) {
            throw UnsupportedOperationException()
        }
    
        override fun setName(name: String?) {
            throw UnsupportedOperationException()
        }
    
        override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            isRelease -> "promoteReleaseMilestone"
            else -> "promoteMilestone"
        }
    
        fun promoteFinalReleaseTaskName(): String = when {
            isMaster -> throw UnsupportedOperationException("No final release job on master branch")
            isRelease -> "promoteFinalRelease"
            else -> "promoteFinalBackportRelease"
        }
    
        private fun nightlyTaskName(prefix: String): String = when {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with OpenJSSE",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

    import org.jetbrains.kotlin.platform.has
    import org.jetbrains.kotlin.platform.jvm.JvmPlatform
    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.model.SimpleTypeMarker
    import java.lang.UnsupportedOperationException
    import java.text.StringCharacterIterator
    
    internal class KtFe10PsiTypeProvider(
        override val analysisSession: KtFe10AnalysisSession
    ) : KtPsiTypeProvider(), Fe10KtAnalysisSessionComponent {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
      }
    
      @SuppressLint("NewApi")
      override fun configureTlsExtensions(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
          exclusive: Boolean,
        ) {
          throw UnsupportedOperationException()
        }
    
        override fun pushPromise(
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          this.type = Http2.TYPE_PUSH_PROMISE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top