Added in API level 33

IkeTimeoutException


class IkeTimeoutException : IOException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.io.IOException
   ↳ android.net.ipsec.ike.exceptions.IkeTimeoutException

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

Added in API level 33
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.