java.net
Class SocketTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.InterruptedIOException
                  extended by java.net.SocketTimeoutException
All Implemented Interfaces:
Serializable

public class SocketTimeoutException
extends InterruptedIOException

This exception signals that a socket read or accept timed out.

Since:
1.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.InterruptedIOException
bytesTransferred
 
Constructor Summary
SocketTimeoutException()
          Create a new instance without a descriptive error message.
SocketTimeoutException(String message)
          Create a new instance with a descriptive error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketTimeoutException

public SocketTimeoutException()
Create a new instance without a descriptive error message.


SocketTimeoutException

public SocketTimeoutException(String message)
Create a new instance with a descriptive error message.

Parameters:
message - a message describing the error that occurred