aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/channels/ServerSocketChannel.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/channels/ServerSocketChannel.java')
-rw-r--r--libjava/java/nio/channels/ServerSocketChannel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/nio/channels/ServerSocketChannel.java b/libjava/java/nio/channels/ServerSocketChannel.java
index 16a3a82df5b..e41af212623 100644
--- a/libjava/java/nio/channels/ServerSocketChannel.java
+++ b/libjava/java/nio/channels/ServerSocketChannel.java
@@ -73,7 +73,7 @@ public abstract class ServerSocketChannel
* @exception SecurityException If a security manager has been installed and
* it does not permit access to the remote endpoint of the new connection.
*/
- public abstract SocketChannel accept ();
+ public abstract SocketChannel accept () throws IOException;
/**
* Retrieves the channels socket.