diff options
Diffstat (limited to 'libjava/java/net/SocketImpl.java')
-rw-r--r-- | libjava/java/net/SocketImpl.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libjava/java/net/SocketImpl.java b/libjava/java/net/SocketImpl.java index d380d8c..1410151 100644 --- a/libjava/java/net/SocketImpl.java +++ b/libjava/java/net/SocketImpl.java @@ -287,7 +287,10 @@ public abstract class SocketImpl implements SocketOptions * * @exception IOException if an error occurs */ - protected abstract void shutdownInput () throws IOException; + protected void shutdownInput () throws IOException + { + throw new IOException ("Not implemented in this socket class"); + } /** * Shut down the output side of this socket. Subsequent writes will @@ -295,5 +298,8 @@ public abstract class SocketImpl implements SocketOptions * * @exception IOException if an error occurs */ - protected abstract void shutdownOutput () throws IOException; + protected void shutdownOutput () throws IOException + { + throw new IOException ("Not implemented in this socket class"); + } } |