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

open class ClosedChannelException : IOException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.io.IOException

Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation. That this exception is thrown does not necessarily imply that the channel is completely closed. A socket channel whose write half has been shut down, for example, may still be open for reading.

Summary

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

Public constructors

ClosedChannelException

ClosedChannelException()

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.