Package com.castlabs.android.drm
Class DrmUtils.HttpExecutorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.castlabs.android.drm.DrmUtils.HttpExecutorException
- All Implemented Interfaces:
Serializable
- Enclosing class:
DrmUtils
Exception thrown when HTTP execution fails.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
responseCode
public final int responseCodeThe HTTP response code -
responseBody
The response body as a string -
responseHeaders
The response headers -
cause
The cause of the exception
-
-
Constructor Details
-
HttpExecutorException
public HttpExecutorException(int responseCode, @Nullable String responseBody, @Nullable Map<String, List<String>> responseHeaders, @Nullable Throwable cause) Creates a new HttpExecutorException.- Parameters:
responseCode
- The HTTP response coderesponseBody
- The response bodyresponseHeaders
- The response headerscause
- The cause of the exception
-