public static final class CronetDataSource.OpenException extends HttpDataSource.HttpDataSourceException
CronetDataSource
.HttpDataSource.HttpDataSourceException.Type
Modifier and Type | Field and Description |
---|---|
int |
cronetConnectionStatus
Returns the status of the connection establishment at the moment when the error occurred, as
defined by
UrlRequest.Status . |
dataSpec, type, TYPE_CLOSE, TYPE_OPEN, TYPE_READ
Constructor and Description |
---|
OpenException(IOException cause,
DataSpec dataSpec,
int cronetConnectionStatus) |
OpenException(String errorMessage,
DataSpec dataSpec,
int cronetConnectionStatus) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final int cronetConnectionStatus
UrlRequest.Status
.public OpenException(IOException cause, DataSpec dataSpec, int cronetConnectionStatus)