Stay organized with collections
Save and categorize content based on your preferences.
android.net.ipsec.ike.exceptions
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.net.ipsec.ike.exceptions\n================================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/exceptions/package-summary \"View this page in Java\")\n\nExceptions\n----------\n\n|-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IkeException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeException) | IkeException represents a generic exception that includes internal and protocol exceptions. |\n| [IkeInternalException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeInternalException) | IkeInternalException encapsulates all local implementation or resource related exceptions. |\n| [IkeIOException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeIOException) | Wrapper for I/O exceptions encountered during IKE operations. |\n| [IkeNetworkLostException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNetworkLostException) | IkeNetworkLostException is returned to the caller via [android.net.ipsec.ike.IkeSessionCallback#onError(android.net.ipsec.ike.exceptions.IkeException)](../IkeSessionCallback.html#onError(android.net.ipsec.ike.exceptions.IkeException)) if the underlying Network for the was lost with no alternatives. |\n| [IkeNonProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNonProtocolException) | IkeNonProtocolException encapsulates all implementation-specific non-protocol IKE errors. |\n| [IkeProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeProtocolException) | IkeProtocolException is an abstract class that represents the common information for all IKE protocol errors. |\n| [IkeTimeoutException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeTimeoutException) | This exception is thrown when there is an IKE retransmission timeout. |\n| [InvalidKeException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidKeException) | This exception is thrown when the remote server expected a different Diffie-Hellman group. |\n| [InvalidMajorVersionException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidMajorVersionException) | This exception is thrown when major version of an inbound message is higher than 2. |\n| [InvalidSelectorsException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidSelectorsException) | This exception is thrown if the remote server received an IPsec packet with mismatched selectors. |"]]