[Chapter 28] 28.17 java.net.SocketException (JDK 1.0)

#

| Chapter 28 The java.net Package |

## 28.17 java.net.SocketException (JDK 1.0)

###

Signals an exceptional condition while using a socket.

    public class SocketException extends IOException {
        // Public Constructors
                public SocketException(String msg);
                public SocketException();
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->SocketException

### Extended By:

BindException, ConnectException, NoRouteToHostException

### Thrown By:

DatagramSocket(), DatagramSocket.getSoTimeout(), DatagramSocket.setSoTimeout(), DatagramSocketImpl.bind(), DatagramSocketImpl.create(), DatagramSocketImpl.getOption(), DatagramSocketImpl.setOption(), MulticastSocket.getInterface(), MulticastSocket.setInterface(), ServerSocket.setSoTimeout(), Socket(), Socket.getSoLinger(), Socket.getSoTimeout(), Socket.getTcpNoDelay(), Socket.setSoLinger(), Socket.setSoTimeout(), Socket.setTcpNoDelay(), SocketImpl.getOption(), SocketImpl.setOption()

java.net.Socket (JDK 1.0) |  | java.net.SocketImpl (JDK 1.0)