APIdia Launch Partner
Top Description Fields Constructors
java.net.http

public Class HttpConnectTimeoutException

extends HttpTimeoutException
Class Inheritance

Thrown when a connection, over which an HttpRequest is intended to be sent, is not successfully established within a specified time period.
Since
11

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
HttpConnectTimeoutException(String
The detail message; can be null
message
)

Constructs an HttpConnectTimeoutException with the given detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.net.http.HttpTimeoutException.serialVersionUID.

Constructor Detail

HttpConnectTimeoutExceptionback to summary
public HttpConnectTimeoutException(String message)

Constructs an HttpConnectTimeoutException with the given detail message.

Parameters
message:String

The detail message; can be null