Stay organized with collections
Save and categorize content based on your preferences.
ClosedChannelException
open class ClosedChannelException : IOException
Known Direct Subclasses
AsynchronousCloseException |
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.
|
|
Known Indirect 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 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 |
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 2021-02-18 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 2021-02-18 UTC."],[],[]]