Android.Net.IpSec.Ike.Exceptions Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains exceptions and protocol error codes for Internet Key Exchange version 2 (IKEv2) sessions.
Classes
| Name | Description |
|---|---|
| IkeException |
IkeException represents a generic exception that includes internal and protocol exceptions. |
| IkeInternalException |
IkeInternalException encapsulates all local implementation or resource related exceptions. |
| IkeIOException |
Wrapper for I/O exceptions encountered during IKE operations. |
| IkeNetworkLostException |
IkeNetworkLostException is returned to the caller via |
| IkeNonProtocolException |
IkeNonProtocolException encapsulates all implementation-specific non-protocol IKE errors. |
| IkeProtocolException |
IkeProtocolException is an abstract class that represents the common information for all IKE protocol errors. |
| IkeTimeoutException |
This exception is thrown when there is an IKE retransmission timeout. |
| InvalidKeException |
This exception is thrown when the remote server expected a different Diffie-Hellman group. |
| InvalidMajorVersionException |
This exception is thrown when major version of an inbound message is higher than 2. |
| InvalidSelectorsException |
This exception is thrown if the remote server received an IPsec packet with mismatched selectors. |
Enums
| Name | Description |
|---|---|
| IkeProtocolErrorType |
Specifies Internet Key Exchange version 2 (IKEv2) protocol error codes. |
Remarks
IkeException is the base exception type. IkeProtocolException represents protocol errors. IkeNonProtocolException represents errors outside the IKE protocol, such as a lost network or an input/output failure.
For the Android API, see the IKE exceptions package reference.