Team LiB
Previous Section Next Section

ClosedByInterruptExceptionjava.nio.channels

Java 1.4serializable checked

An exception of this type is thrown by a thread blocked in an I/O operation on a channel when another thread calls its interrupt( ) method. This exception is a subclass of AsynchronousCloseException and the channel will be closed as a side-effect of the thread interruption.

Figure 13-18. java.nio.channels.ClosedByInterruptException


public class ClosedByInterruptException extends AsynchronousCloseException {
// Public Constructors
     public ClosedByInterruptException( );  
}

    Team LiB
    Previous Section Next Section