mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 19:37:18 +01:00
47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
package org.apache.commons.fileupload;
|
|
|
|
import java.io.PrintStream;
|
|
import java.io.PrintWriter;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes9.dex */
|
|
public class FileUploadException extends Exception {
|
|
private static final long serialVersionUID = 8881893724388807504L;
|
|
private final Throwable cause;
|
|
|
|
public FileUploadException(String str, Throwable th) {
|
|
super(str);
|
|
this.cause = th;
|
|
}
|
|
|
|
@Override // java.lang.Throwable
|
|
public Throwable getCause() {
|
|
return this.cause;
|
|
}
|
|
|
|
@Override // java.lang.Throwable
|
|
public void printStackTrace(PrintStream printStream) {
|
|
super.printStackTrace(printStream);
|
|
if (this.cause != null) {
|
|
printStream.println("Caused by:");
|
|
this.cause.printStackTrace(printStream);
|
|
}
|
|
}
|
|
|
|
public FileUploadException(String str) {
|
|
this(str, null);
|
|
}
|
|
|
|
public FileUploadException() {
|
|
this(null, null);
|
|
}
|
|
|
|
@Override // java.lang.Throwable
|
|
public void printStackTrace(PrintWriter printWriter) {
|
|
super.printStackTrace(printWriter);
|
|
if (this.cause != null) {
|
|
printWriter.println("Caused by:");
|
|
this.cause.printStackTrace(printWriter);
|
|
}
|
|
}
|
|
}
|