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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.