* java/nio/channels/SelectionKey.java
(isValid): Added exception documentation.
* java/nio/channels/Selector.java
(open): Declare "throws IOException".
From-SVN: r59219
-2002-11-17 Jesse Rosenstock <jmr@ugcs.caltech.edu>
+2002-11-18 Michael Koch <konqueror@gmx.de>
+
+ * java/nio/channels/SelectionKey.java
+ (isValid): Added exception documentation.
+ * java/nio/channels/Selector.java
+ (open): Declare "throws IOException".
+
+2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* java/nio/charset/Charset.java
(<clinit>): New method.
/**
* Tells whether or not this key is valid.
+ *
+ * @exception CancelledKeyException If this key has been cancelled
*/
public abstract boolean isValid ();
*
* @exception IOException If an error occurs
*/
- public static Selector open ()
+ public static Selector open () throws IOException
{
return SelectorProvider.provider ().openSelector ();
}