Package java.net |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.net.SocketException extends java.io.IOException { // Constructors public SocketException(); public SocketException(String msg); }
Thrown to indicate that some error occurred while attempting to use a socket.
public SocketException()Constructs a new SocketException with no detail message.
public SocketException(String msg)Constructs a new SocketException with the specified detail message.
Parameter Description msg the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.