APIdia Launch Partner
Top Description Fields Constructors
java.net

public Class SocketTimeoutException

extends InterruptedIOException
Class Inheritance

Signals that a timeout has occurred on a socket read or accept.
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.io.InterruptedIOException:
bytesTransferred

Constructor Summary

AccessConstructor and Description
public
SocketTimeoutException(String
the detail message
msg
)

Constructs a new SocketTimeoutException with a detail message.

public
SocketTimeoutException()

Construct a new SocketTimeoutException with no detailed message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.InterruptedIOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

SocketTimeoutExceptionback to summary
public SocketTimeoutException(String msg)

Constructs a new SocketTimeoutException with a detail message.

Parameters
msg:String

the detail message

SocketTimeoutExceptionback to summary
public SocketTimeoutException()

Construct a new SocketTimeoutException with no detailed message.