public class PathConflictException extends IllegalAccessException
| Constructor and Description |
|---|
PathConflictException(int anotherSamePathTaskId,
String conflictPath,
String targetFilePath) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAnotherSamePathTaskId()
Get the identify of another task which has the same path with the current task and its target
file path is the same to the current task too.
|
String |
getDownloadingConflictPath()
Get the conflict downloading file path, normally, this path is used for store the downloading
file relate with the
mTargetFilePath, and it would be generated from
FileDownloadUtils.getTempPath(String). |
String |
getTargetFilePath()
Get the target file path, which downloading file path is conflict when downloading the task.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getDownloadingConflictPath()
mTargetFilePath, and it would be generated from
FileDownloadUtils.getTempPath(String).public String getTargetFilePath()
public int getAnotherSamePathTaskId()