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