| Exception | Description |
|---|---|
| FileDownloadGiveUpRetryException |
Throwing this exception, when we can't know the size of the download file, and its
Transfer-Encoding is not Chunked either.
|
| FileDownloadHttpException |
Throw this exception, when the HTTP status code is not
HttpURLConnection.HTTP_OK
and not HttpURLConnection.HTTP_PARTIAL either. |
| FileDownloadNetworkPolicyException |
Throw this exception, If you have set
true to BaseDownloadTask.setWifiRequired(boolean)
when starting downloading with the network type isn't wifi or in downloading state the network
type change to non-Wifi type. |
| FileDownloadOutOfSpaceException |
Throw this exception, when the downloading file is too large to store, in other words,
the free space is less than the length of the downloading file.
|
| PathConflictException |
Throw this exception, when there is an another running task with the same path with the current
task, so if the current task is started, the path of the file is sure to be written by multiple
tasks, it is wrong, then we through this exception to avoid such conflict.
|