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

82 lines
2.4 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
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-09-08 08:16:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/h;->checkExpressionValueIsNotNull(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