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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2021-02-18 UTC.",
"confidential": False
}