Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
package com.liulishuo.filedownloader.exception;
import com.liulishuo.filedownloader.util.FileDownloadUtils;
/* loaded from: classes.dex */
public class PathConflictException extends IllegalAccessException {
private final int mAnotherSamePathTaskId;
private final String mDownloadingConflictPath;
private final String mTargetFilePath;
public PathConflictException(int i, String str, String str2) {
super(FileDownloadUtils.a("There is an another running task(%d) with the same downloading path(%s), because of they are with the same target-file-path(%s), so if the current task is started, the path of the file is sure to be written by multiple tasks, it is wrong, then you receive this exception to avoid such conflict.", Integer.valueOf(i), str, str2));
this.mAnotherSamePathTaskId = i;
this.mDownloadingConflictPath = str;
this.mTargetFilePath = str2;
}
public int getAnotherSamePathTaskId() {
return this.mAnotherSamePathTaskId;
}
public String getDownloadingConflictPath() {
return this.mDownloadingConflictPath;
}
public String getTargetFilePath() {
return this.mTargetFilePath;
}
}