Class HttpHostConnectException

All Implemented Interfaces:
Serializable

public class HttpHostConnectException extends ConnectException
A ConnectException that specifies the NamedEndpoint that was being connected to.
Since:
4.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • namedEndpoint

      private final org.apache.hc.core5.net.NamedEndpoint namedEndpoint
  • Constructor Details

    • HttpHostConnectException

      public HttpHostConnectException(String message)
      Creates a HttpHostConnectException with the specified detail message.
    • HttpHostConnectException

      public HttpHostConnectException(String message, org.apache.hc.core5.net.NamedEndpoint namedEndpoint)
  • Method Details

    • getHost

      public org.apache.hc.core5.net.NamedEndpoint getHost()
      Since:
      5.0