Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » net » [javadoc | source]
java.net
public class: SocketTimeoutException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException
            java.io.InterruptedIOException
               java.net.SocketTimeoutException

All Implemented Interfaces:
    Serializable

This exception is thrown when a timeout expired on a socket {@code read} or {@code accept} operation.
Fields inherited from java.io.InterruptedIOException:
bytesTransferred
Constructor:
 public SocketTimeoutException() 
 public SocketTimeoutException(String detailMessage) 
    Creates a new {@code SocketTimeoutException} 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