Stay organized with collections
Save and categorize content based on your preferences.
IkeInternalException
class IkeInternalException : IkeNonProtocolException
IkeInternalException encapsulates all local implementation or resource related exceptions.
Causes may include exceptions such as android.net.IpSecManager.SpiUnavailableException
when the requested SPI resources failed to be allocated.
Summary
Public constructors |
Constructs a new exception with the specified cause.
|
Constructs a new exception with the specified cause.
|
Public constructors
IkeInternalException
IkeInternalException(
message: String,
cause: Throwable)
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 getMessage() method). This value cannot be null . |
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). This value cannot be null . |
IkeInternalException
IkeInternalException(cause: Throwable)
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 getCause() method). This value cannot be null . |
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,["# IkeInternalException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIkeInternalException\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/exceptions/IkeInternalException \"View this page in Java\") \n\n```\nclass IkeInternalException : IkeNonProtocolException\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](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeException) |||\n| | | | ↳ | [android.net.ipsec.ike.exceptions.IkeNonProtocolException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeNonProtocolException) ||\n| | | | | ↳ | [android.net.ipsec.ike.exceptions.IkeInternalException](#) |\n\nIkeInternalException encapsulates all local implementation or resource related exceptions.\n\nCauses may include exceptions such as [android.net.IpSecManager.SpiUnavailableException](../../../IpSecManager.SpiUnavailableException.html#) when the requested SPI resources failed to be allocated.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [IkeInternalException](#IkeInternalException(kotlin.String,%20kotlin.Throwable))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`)` Constructs a new exception with the specified cause. |\n| [IkeInternalException](#IkeInternalException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`)` Constructs a new exception with the specified cause. |\n\nPublic constructors\n-------------------\n\n### IkeInternalException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIkeInternalException(\n message: String, \n cause: Throwable)\n```\n\nConstructs a new exception with the specified cause.\n\nExcept for testing, IKE library users normally do not instantiate this object themselves but instead get a reference via [IkeSessionCallback](../IkeSessionCallback.html#) or [ChildSessionCallback](../ChildSessionCallback.html#).\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): the descriptive message (which is saved for later retrieval by the [getMessage()](../../../../../java/lang/Throwable.html#getMessage()) method). This value cannot be `null`. |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html): the cause (which is saved for later retrieval by the [getCause()](../../../../../java/lang/Throwable.html#getCause()) method). This value cannot be `null`. |\n\n### IkeInternalException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIkeInternalException(cause: Throwable)\n```\n\nConstructs a new exception with the specified cause.\n\nExcept for testing, IKE library users normally do not instantiate this object themselves but instead get a reference via [IkeSessionCallback](../IkeSessionCallback.html#) or [ChildSessionCallback](../ChildSessionCallback.html#).\n\n| Parameters ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html): the cause (which is saved for later retrieval by the [getCause()](../../../../../java/lang/Throwable.html#getCause()) method). This value cannot be `null`. |"]]