IkeNetworkLostException
  public
  
  final
  
  class
  IkeNetworkLostException
  
  
  
  
  
  
  
  
  
  
  
  
  
    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.IkeNetworkLostException | ||||
IkeNetworkLostException is returned to the caller via IkeSessionCallback.onError(android.net.ipsec.ike.exceptions.IkeException) if the underlying Network for the IkeSession was lost with no alternatives.
 
This Exception corresponds to ConnectivityManager.NetworkCallback.onLost(android.net.Network) being invoked for
 the specified underlying Network.
 
When the caller receives this Exception, they must either:
- set a new underlying Network for the corresponding IkeSession (MOBIKE must be enabled and the IKE Session must have started with a caller-configured Network), or
- wait for a new underlying Network to become available (MOBIKE must be enabled and the IKE
       Session must be tracking the System default Network), or
       - Note: if the maximum retransmission time is encountered while waiting, the IKE
             Session will close. If this occurs, the caller will be notified via IkeSessionCallback.onClosedWithException(android.net.ipsec.ike.exceptions.IkeException).
 
- Note: if the maximum retransmission time is encountered while waiting, the IKE
             Session will close. If this occurs, the caller will be notified via 
- close the corresponding IkeSession.
Summary
| Public constructors | |
|---|---|
| 
      IkeNetworkLostException(Network network)
      Constructs an IkeNetworkLostException to indicate the specified Network was lost. | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        Network | 
      getNetwork()
      Returns the IkeSession's underlying Network that was lost. | 
| Inherited methods | |
|---|---|
Public constructors
IkeNetworkLostException
public IkeNetworkLostException (Network network)
Constructs an IkeNetworkLostException to indicate the specified Network was lost.
| Parameters | |
|---|---|
| network | Network: This value cannot benull. | 
Public methods
getNetwork
public Network getNetwork ()
Returns the IkeSession's underlying Network that was lost.
| Returns | |
|---|---|
| Network | This value cannot be null. | 
