Added in API level 31

IkeInternalException


class IkeInternalException : IkeNonProtocolException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.net.ipsec.ike.exceptions.IkeException
   ↳ android.net.ipsec.ike.exceptions.IkeNonProtocolException
   ↳ android.net.ipsec.ike.exceptions.IkeInternalException

IkeInternalException encapsulates all local implementation or resource related exceptions.

Causes may include exceptions such as android.net.IpSecManager.SpiUnavailableException when the requested SPI resources failed to be allocated.

Summary

Public constructors

Constructs a new exception with the specified cause.

Constructs a new exception with the specified cause.

Public constructors

IkeInternalException

Added in API level 31
IkeInternalException(
    message: String,
    cause: Throwable)

Constructs a new exception with the specified cause.

Except for testing, IKE library users normally do not instantiate this object themselves but instead get a reference via IkeSessionCallback or ChildSessionCallback.

Parameters
message String: the descriptive message (which is saved for later retrieval by the getMessage() method). This value cannot be null.
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). This value cannot be null.

IkeInternalException

Added in API level 31
IkeInternalException(cause: Throwable)

Constructs a new exception with the specified cause.

Except for testing, IKE library users normally do not instantiate this object themselves but instead get a reference via IkeSessionCallback or ChildSessionCallback.

Parameters
cause Throwable: the cause (which is saved for later retrieval by the getCause() method). This value cannot be null.