2002-11-18 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2002 14:31:39 +0000 (14:31 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Nov 2002 14:31:39 +0000 (14:31 +0000)
* java/nio/channels/SelectionKey.java
(isValid): Added exception documentation.
* java/nio/channels/Selector.java
(open): Declare "throws IOException".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59219 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/nio/channels/SelectionKey.java
libjava/java/nio/channels/Selector.java

index 7942b98..7fe9594 100644 (file)
@@ -1,4 +1,11 @@
-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.
index 8d06a30..361be18 100644 (file)
@@ -147,6 +147,8 @@ public abstract class SelectionKey
  
   /**
    * Tells whether or not this key is valid.
+   * 
+   * @exception CancelledKeyException If this key has been cancelled
    */
   public abstract boolean isValid ();
  
index a712807..695969b 100644 (file)
@@ -59,7 +59,7 @@ public abstract class Selector
    * 
    * @exception IOException If an error occurs
    */
-  public static Selector open ()
+  public static Selector open () throws IOException
   {
     return SelectorProvider.provider ().openSelector ();
   }