org.apache.hc.core5.io

## Class SocketTimeoutExceptionFactory

- java.lang.Object
- - org.apache.hc.core5.io.SocketTimeoutExceptionFactory

-     public final class SocketTimeoutExceptionFactory
      extends Object

  Creates `SocketTimeoutException` instances.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SocketTimeoutExceptionFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SocketTimeoutException` | `create(Timeout timeout)` Creates a new `SocketTimeoutException` with a message for the given timeout.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SocketTimeoutExceptionFactory

          public SocketTimeoutExceptionFactory()

  - ### Method Detail

    - #### create

          public static SocketTimeoutException create(Timeout timeout)

      Creates a new `SocketTimeoutException` with a message for the given timeout.
      Parameters:
        `timeout` - the timeout value.
      Returns:
        a new `SocketTimeoutException` with a message for the given timeout.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.