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:
Serializable
- Direct Known Subclasses:
HttpUnknownHostException
Thrown when there was communication error between the client and server.
- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpConnectException(URL url, String message, Throwable cause) Constructs anHttpUnknownHostExceptionwith the specified message and cause. -
Method Summary
Methods inherited from class com.sas.lsaf.core.AbstractRuntimeException
getMessage, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpConnectException
Constructs anHttpUnknownHostExceptionwith 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). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getUrl
Return the URL used during the connection failure.- Returns:
- the
URLcausing the connection failure.
-