public class

SocketTimeoutException

extends InterruptedIOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.io.InterruptedIOException
           ↳ java.net.SocketTimeoutException

Class Overview

This exception is thrown when a timeout expired on a socket read or accept operation.

Summary

[Expand]
Inherited Fields
From class java.io.InterruptedIOException
Public Constructors
SocketTimeoutException()
Creates a new SocketTimeoutException instance with its walkback filled in.
SocketTimeoutException(String detailMessage)
Creates a new SocketTimeoutException instance with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SocketTimeoutException ()

Since: API Level 1

Creates a new SocketTimeoutException instance with its walkback filled in.

public SocketTimeoutException (String detailMessage)

Since: API Level 1

Creates a new SocketTimeoutException instance with its walkback and message filled in.

Parameters
detailMessage the detail message of this exception.