Added in API level 1
Deprecated in API level 22

ConnectTimeoutException

open class ConnectTimeoutException : InterruptedIOException

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

Summary

Public constructors

Creates a ConnectTimeoutException with a null detail message.

Creates a ConnectTimeoutException with the specified detail message.

Inherited properties
Int bytesTransferred

Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.

Public constructors

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException()

Creates a ConnectTimeoutException with a null detail message.

ConnectTimeoutException

Added in API level 1
ConnectTimeoutException(message: String!)

Creates a ConnectTimeoutException with the specified detail message.

Parameters
message String!: The exception detail message