Package com.sas.lsaf.client
Class HttpUnknownHostException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sas.lsaf.core.AbstractRuntimeException
-
- com.sas.lsaf.client.HttpConnectException
-
- com.sas.lsaf.client.HttpUnknownHostException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpUnknownHostException extends HttpConnectException
Thrown when there was communication error between the client and server because the host specified in the URL cannot be reached.- Since:
- 1.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpUnknownHostException(java.net.URL url, java.lang.String message, java.lang.Throwable cause)
Constructs anHttpUnknownHostException
with the specified message and cause.
-
Method Summary
-
Methods inherited from class com.sas.lsaf.client.HttpConnectException
getUrl
-
Methods inherited from class com.sas.lsaf.core.AbstractRuntimeException
getMessage, getRootCause
-
-
-
-
Constructor Detail
-
HttpUnknownHostException
public HttpUnknownHostException(java.net.URL url, java.lang.String message, java.lang.Throwable cause)
Constructs anHttpUnknownHostException
with the specified message and cause.- Parameters:
url
- the URL used during the connection failuremessage
- the detail message (which is saved for later retrieval by theAbstractRuntimeException.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-