Initial commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
package com.baidu.license.download.exception;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class DownloadException extends Exception {
|
||||
private int errorCode;
|
||||
private String errorMessage;
|
||||
|
||||
public DownloadException() {
|
||||
}
|
||||
|
||||
public int getErrorCode() {
|
||||
return this.errorCode;
|
||||
}
|
||||
|
||||
public String getErrorMessage() {
|
||||
return this.errorMessage;
|
||||
}
|
||||
|
||||
public void setErrorCode(int i) {
|
||||
this.errorCode = i;
|
||||
}
|
||||
|
||||
public void setErrorMessage(String str) {
|
||||
this.errorMessage = str;
|
||||
}
|
||||
|
||||
@Override // java.lang.Throwable
|
||||
public String toString() {
|
||||
return super.toString();
|
||||
}
|
||||
|
||||
public DownloadException(String str) {
|
||||
super(str);
|
||||
this.errorMessage = str;
|
||||
}
|
||||
|
||||
public DownloadException(int i, String str) {
|
||||
super(str);
|
||||
this.errorCode = i;
|
||||
this.errorMessage = str;
|
||||
}
|
||||
|
||||
public DownloadException(int i, Throwable th) {
|
||||
super(th);
|
||||
this.errorCode = i;
|
||||
}
|
||||
|
||||
public DownloadException(String str, Throwable th) {
|
||||
super(str, th);
|
||||
this.errorMessage = str;
|
||||
}
|
||||
|
||||
public DownloadException(int i, String str, Throwable th) {
|
||||
super(str, th);
|
||||
this.errorCode = i;
|
||||
this.errorMessage = str;
|
||||
}
|
||||
|
||||
public DownloadException(Throwable th) {
|
||||
super(th);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user