Class HttpClientConnectException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HttpClientConnectException
    extends java.net.ConnectException
    A ConnectException that specifies the host that was being connected to.
    Since:
    2.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpClientConnectException​(java.net.ConnectException cause, com.google.api.client.http.GenericUrl host, java.net.InetAddress... remoteAddresses)
      Creates a HttpClientConnectException based on original ConnectException.
    • Method Summary

      • 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

      • HttpClientConnectException

        public HttpClientConnectException​(@Nonnull
                                          java.net.ConnectException cause,
                                          @Nonnull
                                          com.google.api.client.http.GenericUrl host,
                                          @Nonnull
                                          java.net.InetAddress... remoteAddresses)
        Creates a HttpClientConnectException based on original ConnectException.
        Parameters:
        cause - The initial connect exception cause.
        host - The cost tried to connect ro.
        remoteAddresses - Remote addresses