Package java.net

Class SocketTimeoutException

All Implemented Interfaces:
Serializable

public class SocketTimeoutException
extends InterruptedIOException
This exception is thrown when a timeout expired on a socket read or accept operation.
See Also:
Serialized Form
  • Constructor Details

    • SocketTimeoutException

      public SocketTimeoutException()
      Constructs a new instance.
    • SocketTimeoutException

      public SocketTimeoutException​(String detailMessage)
      Constructs a new instance with the given detail message.
    • SocketTimeoutException

      public SocketTimeoutException​(Throwable cause)
      Constructs a new instance with given cause.
    • SocketTimeoutException

      public SocketTimeoutException​(String detailMessage, Throwable cause)
      Constructs a new instance with given detail message and cause.