public class ClosedReceiveChannelException
Indicates attempt to ReceiveChannel.receive
on ReceiveChannel.isClosedForReceive
channel that was closed without a cause. A failed channel rethrows the original SendChannel.close
cause
exception on receive attempts.
This exception is subclass of NoSuchElementException to be consistent with plain collections.
Constructor and Description |
---|
ClosedReceiveChannelException(java.lang.String message)
Indicates attempt to
ReceiveChannel.receive on ReceiveChannel.isClosedForReceive
channel that was closed without a cause. A failed channel rethrows the original SendChannel.close cause
exception on receive attempts. |
public ClosedReceiveChannelException(java.lang.String message)
Indicates attempt to ReceiveChannel.receive
on ReceiveChannel.isClosedForReceive
channel that was closed without a cause. A failed channel rethrows the original SendChannel.close
cause
exception on receive attempts.
This exception is subclass of NoSuchElementException to be consistent with plain collections.