AsynchronousCloseException

  • AsynchronousCloseException signals that a channel or a portion of it was closed by another thread while the current thread was blocked in an I/O operation on it.

  • It is a checked exception, meaning it must be declared in the method signature or handled within a try-catch block.

  • AsynchronousCloseException is a subclass of ClosedChannelException and inherits methods from Throwable and Object classes.

  • It has a public constructor that takes no arguments and is used to create an instance of the exception.

public class AsynchronousCloseException extends ClosedChannelException
Known Direct Subclasses

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.

Public Constructor Summary

AsynchronousCloseException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public AsynchronousCloseException ()

Constructs an instance of this class.