Name: auR10023 Date: 11/22/2002
Javadoc for java.nio.channels.SelectionKey.interestOps(int ops) does not
specify input parameters:
...
public abstract SelectionKey interestOps(int ops)
Sets this key's interest set to the given value.
This method may be invoked at any time. Whether or not it blocks, and
for how long, is implementation-dependent.
Returns:This selection key
Throws: IllegalArgumentException - If a bit in the set does not
correspond to an operation that is supported by this key's channel,
that is, if set & ~(channel().validOps()) != 0
CancelledKeyException - If this key has been cancelled
...
======================================================================