Stay organized with collections
Save and categorize content based on your preferences.
SSLProtocolException
open class SSLProtocolException : SSLException
Reports an error in the operation of the SSL protocol. Normally this indicates a flaw in one of the protocol implementations.
Summary
Public constructors |
Constructs an exception reporting an SSL protocol error detected by an SSL subsystem.
|
Public constructors
SSLProtocolException
SSLProtocolException(reason: String!)
Constructs an exception reporting an SSL protocol error detected by an SSL subsystem.
Parameters |
reason |
String!: describes the problem. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SSLProtocolException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSSLProtocolException\n====================\n\n```\nopen class SSLProtocolException : SSLException\n```\n\n|---|---|---|---|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||||\n| | ↳ | [java.lang.Exception](../../../java/lang/Exception.html#) ||||\n| | | ↳ | [java.io.IOException](../../../java/io/IOException.html#) |||\n| | | | ↳ | [javax.net.ssl.SSLException](/reference/kotlin/javax/net/ssl/SSLException) ||\n| | | | | ↳ | [javax.net.ssl.SSLProtocolException](#) |\n\nReports an error in the operation of the SSL protocol. Normally this indicates a flaw in one of the protocol implementations.\n\nSummary\n-------\n\n| Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [SSLProtocolException](#SSLProtocolException(kotlin.String))`(`reason:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an exception reporting an SSL protocol error detected by an SSL subsystem. |\n\nPublic constructors\n-------------------\n\n### SSLProtocolException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nSSLProtocolException(reason: String!)\n```\n\nConstructs an exception reporting an SSL protocol error detected by an SSL subsystem.\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------|\n| `reason` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: describes the problem. |"]]