Class ClosedByInterruptException

  • All Implemented Interfaces:
    Serializable

    public class ClosedByInterruptException
    extends AsynchronousCloseException
    A ClosedByInterruptException is thrown when a thread is interrupted in a blocking I/O operation.

    When the thread is interrupted by a call to interrupt(), it closes the channel, sets the interrupt status of the thread to true and throws a ClosedByInterruptException.

    See Also:
    Serialized Form
    • Constructor Detail

      • ClosedByInterruptException

        public ClosedByInterruptException()
        Constructs a ClosedByInterruptException.