to top
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