Class HttpHostConnectException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HttpHostConnectException
    extends java.net.ConnectException
    A ConnectException that specifies the HttpHost that was being connected to.
    Since:
    4.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.http.HttpHost getHost()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpHostConnectException

        public HttpHostConnectException​(java.io.IOException cause,
                                        org.apache.http.HttpHost host,
                                        java.net.InetAddress... remoteAddresses)
        Creates a HttpHostConnectException based on original IOException.
        Since:
        4.3
    • Method Detail

      • getHost

        public org.apache.http.HttpHost getHost()