Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

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()


Previous Home Next
java.net.Socket (JDK 1.0) Book Index java.net.SocketImpl (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java