Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » net » [javadoc | source]
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() 
 public SocketException(String 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