Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

ConnectTimeoutException

extends InterruptedIOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.io.InterruptedIOException
           ↳ org.apache.http.conn.ConnectTimeoutException
Known Direct Subclasses

Class Overview

A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.

Summary

[Expand]
Inherited Fields
From class java.io.InterruptedIOException
Public Constructors
ConnectTimeoutException ()
Creates a ConnectTimeoutException with a null detail message.
ConnectTimeoutException ( String message)
Creates a ConnectTimeoutException with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ConnectTimeoutException ()

Added in API level 1

Creates a ConnectTimeoutException with a null detail message.

public ConnectTimeoutException ( String message)

Added in API level 1

Creates a ConnectTimeoutException with the specified detail message.

Parameters
message The exception detail message