Package com.sas.lsaf.client
Class HttpConnectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sas.lsaf.core.AbstractRuntimeException
-
- com.sas.lsaf.client.HttpConnectException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HttpUnknownHostException
public class HttpConnectException extends AbstractRuntimeException
Thrown when there was communication error between the client and server.- Since:
- 1.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpConnectException(java.net.URL url, java.lang.String message, java.lang.Throwable cause)
Constructs anHttpUnknownHostException
with the specified message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getUrl()
Return the URL used during the connection failure.-
Methods inherited from class com.sas.lsaf.core.AbstractRuntimeException
getMessage, getRootCause
-
-
-
-
Constructor Detail
-
HttpConnectException
public HttpConnectException(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.)
-
-