Stay organized with collections
Save and categorize content based on your preferences.
IkeException
abstract class IkeException : Exception
Known Direct Subclasses
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.
|
|
Known Indirect Subclasses
|
IkeException represents a generic exception that includes internal and protocol exceptions.
Summary
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# IkeException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIkeException\n============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/exceptions/IkeException \"View this page in Java\") \n\n```\nabstract class IkeException : Exception\n```\n\n|---|---|---|----------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Exception](../../../../../java/lang/Exception.html#) ||\n| | | ↳ | [android.net.ipsec.ike.exceptions.IkeException](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [IkeNonProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNonProtocolException), [IkeProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeProtocolException) |-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------| | [IkeNonProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNonProtocolException) | IkeNonProtocolException encapsulates all implementation-specific non-protocol IKE errors. | | [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\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [IkeIOException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeIOException), [IkeInternalException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeInternalException), [IkeNetworkLostException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNetworkLostException), [InvalidKeException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidKeException), [InvalidMajorVersionException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidMajorVersionException), [InvalidSelectorsException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidSelectorsException) |-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [IkeIOException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeIOException) | Wrapper for I/O exceptions encountered during IKE operations. | | [IkeInternalException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeInternalException) | IkeInternalException encapsulates all local implementation or resource related exceptions. | | [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. | | [InvalidKeException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidKeException) | This exception is thrown when the remote server expected a different Diffie-Hellman group. | | [InvalidMajorVersionException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidMajorVersionException) | This exception is thrown when major version of an inbound message is higher than 2. | | [InvalidSelectorsException](/reference/kotlin/android/net/ipsec/ike/exceptions/InvalidSelectorsException) | This exception is thrown if the remote server received an IPsec packet with mismatched selectors. | |\n\nIkeException represents a generic exception that includes internal and protocol exceptions.\n\nSummary\n-------"]]