SerializableCronetDataSource.OpenException, HttpDataSource.CleartextNotPermittedException, HttpDataSource.InvalidContentTypeException, HttpDataSource.InvalidResponseCodeExceptionpublic static class HttpDataSource.HttpDataSourceException extends IOException
HttpDataSource.| Modifier and Type | Class | Description |
|---|---|---|
static interface |
HttpDataSource.HttpDataSourceException.Type |
| Modifier and Type | Field | Description |
|---|---|---|
DataSpec |
dataSpec |
The
DataSpec associated with the current connection. |
int |
type |
|
static int |
TYPE_CLOSE |
|
static int |
TYPE_OPEN |
|
static int |
TYPE_READ |
| Constructor | Description |
|---|---|
HttpDataSourceException(DataSpec dataSpec,
int type) |
|
HttpDataSourceException(IOException cause,
DataSpec dataSpec,
int type) |
|
HttpDataSourceException(String message,
DataSpec dataSpec,
int type) |
|
HttpDataSourceException(String message,
IOException cause,
DataSpec dataSpec,
int type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int TYPE_OPEN
public static final int TYPE_READ
public static final int TYPE_CLOSE
@Type public final int type
public HttpDataSourceException(String message, DataSpec dataSpec, @Type int type)
public HttpDataSourceException(IOException cause, DataSpec dataSpec, @Type int type)
public HttpDataSourceException(String message, IOException cause, DataSpec dataSpec, @Type int type)