Most visited

Recently visited

Added in API level 1
Deprecated since 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 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

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.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException ()

Creates a ConnectTimeoutException with a null detail message.

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException (String message)

Creates a ConnectTimeoutException with the specified detail message.

Parameters
message String: The exception detail message

Hooray!