Added in API level 33

IkeTimeoutException

public final class IkeTimeoutException
extends IOException

java.lang.Object
   ↳ java.lang.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 IkeSessionParams.Builder.setRetransmissionTimeoutsMillis(int[]).

Summary

Public constructors

IkeTimeoutException(String message)

Constructs an IkeTimeoutException with the specified detail message.

Inherited methods

Public constructors

IkeTimeoutException

Added in API level 33
public IkeTimeoutException (String message)

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 Throwable.getMessage() method) This value cannot be null.