Package org.apache.hc.core5.io
Class SocketTimeoutExceptionFactory
java.lang.Object
org.apache.hc.core5.io.SocketTimeoutExceptionFactory
Creates
SocketTimeoutException
instances.- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SocketTimeoutException
Creates a newSocketTimeoutException
with a message for the given timeout.
-
Constructor Details
-
SocketTimeoutExceptionFactory
public SocketTimeoutExceptionFactory()
-
-
Method Details
-
create
Creates a newSocketTimeoutException
with a message for the given timeout.- Parameters:
timeout
- the timeout value.- Returns:
- a new
SocketTimeoutException
with a message for the given timeout.
-