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

public Class HttpTimeoutException

extends IOException
Class Inheritance
Known Direct Subclasses
java.net.http.HttpConnectTimeoutException
Imports
java.io.IOException

Thrown when a response is not received within a specified time period.
Since
11

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

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

Constructs an HttpTimeoutException with the given detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

HttpTimeoutExceptionback to summary
public HttpTimeoutException(String message)

Constructs an HttpTimeoutException with the given detail message.

Parameters
message:String

The detail message; can be null