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


这个类在API级别22已被弃用。
请改用openConnection() 。 请访问this webpage了解更多详情。

连接到HTTP服务器或等待来自HttpConnectionManager的可用连接时发生超时。

摘要(Summary)

Inherited fields

From class java.io.InterruptedIOException

Public constructors

ConnectTimeoutException()

用 null详细消息创建ConnectTimeoutException。

ConnectTimeoutException(String message)

用指定的详细信息创建ConnectTimeoutException。

继承方法(Inherited methods)

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

Public constructors

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException ()

用 null详细消息创建ConnectTimeoutException。

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException (String message)

用指定的详细信息创建ConnectTimeoutException。

参数(Parameters)
message String: The exception detail message

Hooray!