Added in API level 31

IkeInternalException


public final class IkeInternalException
extends IkeNonProtocolException

java.lang.Object
   ↳ java.lang.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 IpSecManager.SpiUnavailableException when the requested SPI resources failed to be allocated.

Summary

Public constructors

IkeInternalException(String message, Throwable cause)

Constructs a new exception with the specified cause.

IkeInternalException(Throwable cause)

Constructs a new exception with the specified cause.

Inherited methods

Public constructors

IkeInternalException

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

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

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

IkeInternalException

Added in API level 31
public IkeInternalException (Throwable cause)

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