Stay organized with collections
Save and categorize content based on your preferences.
IkeTimeoutException
class IkeTimeoutException : IOException
This exception is thrown when there is an IKE retransmission timeout.
This exception indicates that the IKE Session failed to receive an IKE response before hitting the maximum number of retransmission attempts configured in android.net.ipsec.ike.IkeSessionParams.Builder#setRetransmissionTimeoutsMillis(int[])
.
Summary
Public constructors |
Constructs an IkeTimeoutException with the specified detail message.
|
Public constructors
IkeTimeoutException
IkeTimeoutException(message: String)
Constructs an IkeTimeoutException
with the specified detail message.
Callers are not generally expected to instantiate this object themselves, except for testing. A reference is passed via IkeSessionCallback
or ChildSessionCallback
.
Parameters |
message |
String: The detail message (which is saved for later retrieval by the getMessage() method) This value cannot be null . |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# IkeTimeoutException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIkeTimeoutException\n===================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/exceptions/IkeTimeoutException \"View this page in Java\") \n\n```\nclass IkeTimeoutException : IOException\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| | | | ↳ | [android.net.ipsec.ike.exceptions.IkeTimeoutException](#) |\n\nThis exception is thrown when there is an IKE retransmission timeout.\n\nThis exception indicates that the IKE Session failed to receive an IKE response before hitting the maximum number of retransmission attempts configured in [android.net.ipsec.ike.IkeSessionParams.Builder#setRetransmissionTimeoutsMillis(int[])](../IkeSessionParams.Builder.html#setRetransmissionTimeoutsMillis(kotlin.IntArray)).\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [IkeTimeoutException](#IkeTimeoutException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Constructs an `IkeTimeoutException` with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### IkeTimeoutException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIkeTimeoutException(message: String)\n```\n\nConstructs an `IkeTimeoutException` with the specified detail message.\n\nCallers are not generally expected to instantiate this object themselves, except for testing. A reference is passed via [IkeSessionCallback](../IkeSessionCallback.html#) or [ChildSessionCallback](../ChildSessionCallback.html#).\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): The detail message (which is saved for later retrieval by the [getMessage()](../../../../../java/lang/Throwable.html#getMessage()) method) This value cannot be `null`. |"]]