Packages This Package Prev Next Index
§4.17 Class SocketException
public class java.net.SocketException
extends java.io.IOException (I-§2.29)
{
// Constructors
public SocketException(); §4.17.1
public SocketException(String msg); §4.17.2
}
Thrown to indicate that some error occurred while attempting to use a socket.
SocketException
public SocketException()
- Constructs a new SocketException with no detail message.
SocketException
public SocketException(String msg)
- Constructs a new SocketException with the specified detail message.
- Parameters:
msg
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com