Name
SocketTimeoutException
Synopsis
Signals
that a timeout value was exceeded for a socket read or accept
operation. See the setSoTimeout( )
method of
Socket
.
Figure 12-22. java.net.SocketTimeoutException
public class SocketTimeoutException extends java.io.InterruptedIOException { // Public Constructors public SocketTimeoutException( ); public SocketTimeoutException(String msg); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.