Stay organized with collections
Save and categorize content based on your preferences.
AsynchronousCloseException
open class AsynchronousCloseException : ClosedChannelException
Known Direct Subclasses
ClosedByInterruptException |
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.
|
|
Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.
Summary
Public constructors |
Constructs an instance of this class.
|
Public constructors
AsynchronousCloseException
AsynchronousCloseException()
Constructs an instance of this class.
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,["# AsynchronousCloseException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAsynchronousCloseException\n==========================\n\n```\nopen class AsynchronousCloseException : ClosedChannelException\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](../../lang/Exception.html#) ||||\n| | | ↳ | [java.io.IOException](../../io/IOException.html#) |||\n| | | | ↳ | [java.nio.channels.ClosedChannelException](/reference/kotlin/java/nio/channels/ClosedChannelException) ||\n| | | | | ↳ | [java.nio.channels.AsynchronousCloseException](#) |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [ClosedByInterruptException](/reference/kotlin/java/nio/channels/ClosedByInterruptException) |----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------| | [ClosedByInterruptException](/reference/kotlin/java/nio/channels/ClosedByInterruptException) | Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel. | |\n\nChecked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------|---|\n| [AsynchronousCloseException](#AsynchronousCloseException())`()` Constructs an instance of this class. |\n\nPublic constructors\n-------------------\n\n### AsynchronousCloseException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAsynchronousCloseException()\n```\n\nConstructs an instance of this class."]]