Package org.apache.hc.core5.io
Class SocketTimeoutExceptionFactory
- java.lang.Object
-
- org.apache.hc.core5.io.SocketTimeoutExceptionFactory
-
public final class SocketTimeoutExceptionFactory extends java.lang.Object
CreatesSocketTimeoutException
instances.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description SocketTimeoutExceptionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.SocketTimeoutException
create(Timeout timeout)
Creates a newSocketTimeoutException
with a message for the given timeout.
-
-
-
Method Detail
-
create
public static java.net.SocketTimeoutException create(Timeout timeout)
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.
-
-