apkfuckery/com.discord/smali_classes2/kotlin/io/FileSystemException.smali

86 lines
2.5 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public Lkotlin/io/FileSystemException;
2020-05-17 12:40:10 +00:00
.super Ljava/io/IOException;
.source "Exceptions.kt"
# instance fields
.field public final file:Ljava/io/File;
.field public final other:Ljava/io/File;
.field public final reason:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)V
.locals 3
2020-09-16 23:45:23 +00:00
const-string v0, "file"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-05-17 12:40:10 +00:00
new-instance v0, Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/io/File;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
if-eqz p2, :cond_0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, " -> "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_0
if-eqz p3, :cond_1
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, ": "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "sb.toString()"
2020-10-05 23:18:16 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lkotlin/io/FileSystemException;->file:Ljava/io/File;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p2, p0, Lkotlin/io/FileSystemException;->other:Ljava/io/File;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p3, p0, Lkotlin/io/FileSystemException;->reason:Ljava/lang/String;
2020-05-17 12:40:10 +00:00
return-void
.end method