ClosedChannelException


ClosedChannelException java.nio.channels

Java 1.4 serializable checked

Signals an attempt to perform I/O on a channel that has been closed with the close( ) method, or that is closed for a particular type of I/O operation (a SocketChannel , for example, may have its read and write halves shut down independently.) Channels may be closed asynchronously, and threads blocking to complete an I/O operation will throw a subclass of this exception type. See AsynchronousCloseException and ClosedByInterruptException .

Figure 13-19. java.nio.channels.ClosedChannelException

 public class  ClosedChannelException  extends java.io.IOException {  // Public Constructors  public  ClosedChannelException  ( );   } 

Subclasses

AsynchronousCloseException

Thrown By

SelectableChannel.register( ) , java.nio.channels.spi.AbstractSelectableChannel.register( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net