Package com.github.alexdlaird.http
Class HttpClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.alexdlaird.http.HttpClientException
- All Implemented Interfaces:
java.io.Serializable
public class HttpClientException
extends java.lang.RuntimeException
Root exception for
DefaultHttpClient
interactions.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HttpClientException(java.lang.String message)
An exception with a message.HttpClientException(java.lang.String message, java.lang.Exception cause)
An exception with a message and a root cause. -
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 Details
-
HttpClientException
public HttpClientException(java.lang.String message)An exception with a message.- Parameters:
message
- The message describing the exception.
-
HttpClientException
public HttpClientException(java.lang.String message, java.lang.Exception cause)An exception with a message and a root cause.- Parameters:
message
- The message describing the exception.cause
- The initial cause of the exception.
-