jimu-decompiled/sources/com/alibaba/sdk/android/oss/ClientException.java
2025-05-13 19:24:51 +02:00

47 lines
1.1 KiB
Java

package com.alibaba.sdk.android.oss;
import com.alibaba.sdk.android.oss.common.OSSLog;
/* loaded from: classes.dex */
public class ClientException extends Exception {
private Boolean canceled;
public ClientException() {
this.canceled = false;
}
@Override // java.lang.Throwable
public String getMessage() {
String message = super.getMessage();
if (getCause() == null) {
return message;
}
return getCause().getMessage() + "\n" + message;
}
public Boolean isCanceledException() {
return this.canceled;
}
public ClientException(String str) {
super("[ErrorMessage]: " + str);
this.canceled = false;
}
public ClientException(Throwable th) {
super(th);
this.canceled = false;
}
public ClientException(String str, Throwable th) {
this(str, th, false);
}
public ClientException(String str, Throwable th, Boolean bool) {
super("[ErrorMessage]: " + str, th);
this.canceled = false;
this.canceled = bool;
OSSLog.a(this);
}
}