Class SocketTimeoutException

All Implemented Interfaces:
Serializable

public class SocketTimeoutException extends InterruptedIOException
A read ran out of time, standing in for java.net.SocketTimeoutException.

Absent from the class library, and supplied because a library that reads from a socket catches it. Nothing here throws it from a socket read: there is no readable clock inside a request to time a read against, which Socket.setSoTimeout(int) records. An HTTP request does have a deadline, and that one the platform enforces.

Since:
1.0.0
See Also:
  • Constructor Details

    • SocketTimeoutException

      public SocketTimeoutException()
      With no message.
    • SocketTimeoutException

      public SocketTimeoutException(String message)
      Parameters:
      message - what ran out of time