public class java.net
SocketException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > IOException
Extended by: BindException, ConnectException, NoRouteToHostException, PortUnreachableException
Details
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
version1.18, 11/17/05
sinceJDK1.0

Constructors
public SocketException(String msg) Details
Constructs a new SocketException with the specified detail message.
msgthe detail message.
public SocketException()
Constructs a new SocketException with no detail message.