Name

SocketException

Synopsis

Signals an exceptional condition while using a socket.

java.net.SocketException

Figure 12-19. java.net.SocketException

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

Subclasses

BindException, ConnectException, NoRouteToHostException, PortUnreachableException

Thrown By

Too many methods to list.

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.