ClosedByInterruptException  |  API reference  |  Android Developers (original) (raw)

open class ClosedByInterruptException : AsynchronousCloseException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.io.IOException
java.nio.channels.ClosedChannelException
java.nio.channels.AsynchronousCloseException

Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel. Before this exception is thrown the channel will have been closed and the interrupt status of the previously-blocked thread will have been set.

Summary

Public constructors
ClosedByInterruptException() Constructs an instance of this class.

Public constructors

ClosedByInterruptException

ClosedByInterruptException()

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.