Package net.morimekta.providence.client
Class HttpClientConnectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.net.SocketException
-
- java.net.ConnectException
-
- net.morimekta.providence.client.HttpClientConnectException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpClientConnectException extends java.net.ConnectException
AConnectException
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 originalConnectException
.
-
-
-
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 originalConnectException
.- Parameters:
cause
- The initial connect exception cause.host
- The cost tried to connect ro.remoteAddresses
- Remote addresses
-
-