diff options
Diffstat (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java')
-rw-r--r-- | libjava/gnu/java/nio/ServerSocketChannelImpl.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/ServerSocketChannelImpl.java b/libjava/gnu/java/nio/ServerSocketChannelImpl.java index 4a51f2a..d681093 100644 --- a/libjava/gnu/java/nio/ServerSocketChannelImpl.java +++ b/libjava/gnu/java/nio/ServerSocketChannelImpl.java @@ -58,6 +58,7 @@ class ServerSocketChannelImpl extends ServerSocketChannel SocketChannelImpl s); protected ServerSocketChannelImpl (SelectorProvider provider) + throws IOException { super (provider); fd = SocketChannelImpl.SocketCreate (); @@ -86,14 +87,14 @@ class ServerSocketChannelImpl extends ServerSocketChannel } } - protected void implCloseSelectableChannel () + protected void implCloseSelectableChannel () throws IOException { connected = false; SocketChannelImpl.SocketClose (fd); fd = SocketChannelImpl.SocketCreate (); } - protected void implConfigureBlocking (boolean block) + protected void implConfigureBlocking (boolean block) throws IOException { blocking = block; } |