AlreadyConnectedException |
An AlreadyConnectedException is thrown when an attempt is made to
connect a SocketChannel that is already connected. |
AsynchronousCloseException |
An AsynchronousCloseException is thrown when the underlying channel
for an I/O operation is closed by another thread. |
CancelledKeyException |
A CancelledKeyException is thrown when an invalid selection key is
used. |
ClosedByInterruptException |
A ClosedByInterruptException is thrown when a thread is interrupted
in a blocking I/O operation. |
ClosedChannelException |
A ClosedChannelException is thrown when a channel is closed for the
type of operation attempted. |
ClosedSelectorException |
A ClosedSelectorException is thrown when a selector
is closed and an I/O operation is attempted. |
ConnectionPendingException |
A ConnectionPendingException is thrown when an attempt is made to
connect a SocketChannel that has a non-blocking connection already
underway. |
FileLockInterruptionException |
A FileLockInterruptionException is thrown when a thread is
interrupted while waiting to acquire a file lock. |
IllegalBlockingModeException |
An IllegalBlockingModeException is thrown when an operation that
requires a specific blocking mode is invoked on a channel that is in a
different blocking mode. |
IllegalSelectorException |
An IllegalSelectorException is thrown when a call is made to register
a channel on a selector that has been created by a different provider. |
NoConnectionPendingException |
A NoConnectionPendingException is thrown if SocketChannel 's
finishConnect method is called before
the SocketChannel 's
connect method completed without
error. |
NonReadableChannelException |
A NonReadableChannelException is thrown when attempting to read from
a channel that is not open for reading. |
NonWritableChannelException |
A NonWritableChannelException is thrown when attempting to write to a
channel that is not open for writing. |
NotYetBoundException |
A NotYetBoundException is thrown if the server socket channel is not
bound before an I/O operation is made. |
NotYetConnectedException |
A NotYetConnectedException is thrown if the socket channel is not
connected before an I/O operation is invoked. |
OverlappingFileLockException |
An OverlappingFileLockException is thrown when attempting to acquire
a lock that overlaps an existing or pending lock held by this process. |
UnresolvedAddressException |
An UnresolvedAddressException is thrown when trying to use an
unresolved network address in a network operation. |
UnsupportedAddressTypeException |
An UnsupportedAddressTypeException is thrown when connecting or
binding to an unsupported address type. |