Stay organized with collections
Save and categorize content based on your preferences.
IkeIOException
class IkeIOException : IkeNonProtocolException
Wrapper for I/O exceptions encountered during IKE operations.
Summary
Public constructors |
Constructs a new exception with the specified cause.
|
Properties |
IOException |
Returns the cause of this IkeIOException.
|
Public constructors
IkeIOException
IkeIOException(cause: IOException)
Constructs a new exception with the specified cause.
Callers are not generally expected to instantiate this object themselves, except for testing. A reference is passed via IkeSessionCallback
or ChildSessionCallback
.
Parameters |
cause |
IOException: the cause (which is saved for later retrieval by the getCause() method). This value cannot be null . |
Properties
cause
val cause: IOException
Returns the cause of this IkeIOException.
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,["# IkeIOException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIkeIOException\n==============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ipsec/ike/exceptions/IkeIOException \"View this page in Java\") \n\n```\nclass IkeIOException : 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.IkeIOException](#) |\n\nWrapper for I/O exceptions encountered during IKE operations.\n\nSummary\n-------\n\n| Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [IkeIOException](#IkeIOException(java.io.IOException))`(`cause:` `[IOException](../../../../../java/io/IOException.html#)`)` Constructs a new exception with the specified cause. |\n\n| Properties ||\n|---------------------------------------------------------|-------------------------------------------------------------------------------|\n| [IOException](../../../../../java/io/IOException.html#) | [cause](#cause:java.io.IOException) Returns the cause of this IkeIOException. |\n\nPublic constructors\n-------------------\n\n### IkeIOException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIkeIOException(cause: IOException)\n```\n\nConstructs a new exception with the specified cause.\n\nCallers are not generally expected to instantiate this object themselves, except for testing. A reference is passed via [IkeSessionCallback](../IkeSessionCallback.html#) or [ChildSessionCallback](../ChildSessionCallback.html#).\n\n| Parameters ||\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [IOException](../../../../../java/io/IOException.html#): the cause (which is saved for later retrieval by the [getCause()](#cause:java.io.IOException) method). This value cannot be `null`. |\n\nProperties\n----------\n\n### cause\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval cause: IOException\n```\n\nReturns the cause of this IkeIOException.\n\n| Return ||\n|---------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IOException](../../../../../java/io/IOException.html#) | the cause of this IkeIOException. It might be a subclass of IOException that represents a specific type of I/O issue. For example, [UnknownHostException](../../../../../java/net/UnknownHostException.html#) and [IkeTimeoutException](/reference/kotlin/android/net/ipsec/ike/exceptions/IkeTimeoutException). This value cannot be `null`. |"]]