java.net
public class: SocketException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BindException, PortUnreachableException, NoRouteToHostException, ConnectException
This {@code SocketException} may be thrown during socket creation or setting
options, and is the superclass of all other socket related exceptions.
| Constructor: |
public SocketException() {
super();
}
Constructs a new {@code SocketException} instance with its walkback
filled in. |
public SocketException(String detailMessage) {
super(detailMessage);
}
Constructs a new {@code SocketException} instance with its walkback and
message filled in. Parameters:
detailMessage -
the detail message of this exception.
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |