Module java.base
Package java.net

Class SocketTimeoutException

All Implemented Interfaces:
Serializable

public class SocketTimeoutException extends InterruptedIOException
Signals that a timeout has occurred on a socket read or accept.
Since:
1.4
See Also:
Serialized Form
  • Constructor Details

    • SocketTimeoutException

      public SocketTimeoutException(String msg)
      Constructs a new SocketTimeoutException with a detail message.
      Parameters:
      msg - the detail message
    • SocketTimeoutException

      public SocketTimeoutException()
      Construct a new SocketTimeoutException with no detailed message.