Added in API level 1
Deprecated in API level 22

ConnectTimeoutException

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


This class was deprecated in API level 22.
Please use URL.openConnection() instead. Please visit this webpage for further details.

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

Summary

Inherited fields

Public constructors

ConnectTimeoutException()

Creates a ConnectTimeoutException with a null detail message.

ConnectTimeoutException(String message)

Creates a ConnectTimeoutException with the specified detail message.

Inherited methods

Public constructors

ConnectTimeoutException

Added in API level 1
public ConnectTimeoutException ()

Creates a ConnectTimeoutException with a null detail message.

ConnectTimeoutException

Added in API level 1
public ConnectTimeoutException (String message)

Creates a ConnectTimeoutException with the specified detail message.

Parameters
message String: The exception detail message