Top Description Constructors Methods
org.apache.hc.core5.io

public final Class SocketTimeoutExceptionFactory

extends Object
Class Inheritance
Imports
java.net.SocketTimeoutException, java.util.Objects, org.apache.hc.core5.util.Timeout

Creates SocketTimeoutException instances.
Since
5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static SocketTimeoutException

Returns:

a new SocketTimeoutException with a message for the given timeout.
create
(final Timeout
the timeout value.
timeout
)

Creates a new SocketTimeoutException with a message for the given timeout.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SocketTimeoutExceptionFactoryback to summary
public SocketTimeoutExceptionFactory()

Method Detail

createback to summary
public static SocketTimeoutException create(final Timeout timeout)

Creates a new SocketTimeoutException with a message for the given timeout.

Parameters
timeout:Timeout

the timeout value.

Returns:SocketTimeoutException

a new SocketTimeoutException with a message for the given timeout.