apkfuckery/com.discord/smali_classes2/f0/k/f$a.smali
2020-04-27 22:53:11 +02:00

169 lines
3.6 KiB
Smali

.class public Lf0/k/f$a;
.super Ljava/lang/RuntimeException;
.source "OnErrorThrowable.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf0/k/f;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf0/k/f$a$a;
}
.end annotation
# static fields
.field public static final serialVersionUID:J = -0x2ff0b792f8336acbL
# instance fields
.field public final value:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 3
const-string v0, "OnError while emitting onNext value: "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
if-nez p1, :cond_0
const-string v1, "null"
goto :goto_0
:cond_0
sget-object v1, Lf0/k/f$a$a;->a:Ljava/util/Set;
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
goto :goto_0
:cond_1
instance-of v1, p1, Ljava/lang/String;
if-eqz v1, :cond_2
move-object v1, p1
check-cast v1, Ljava/lang/String;
goto :goto_0
:cond_2
instance-of v1, p1, Ljava/lang/Enum;
if-eqz v1, :cond_3
move-object v1, p1
check-cast v1, Ljava/lang/Enum;
invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;
move-result-object v1
goto :goto_0
:cond_3
sget-object v1, Lf0/p/o;->f:Lf0/p/o;
invoke-virtual {v1}, Lf0/p/o;->b()Lf0/p/b;
move-result-object v1
invoke-virtual {v1, p1}, Lf0/p/b;->a(Ljava/lang/Object;)Ljava/lang/String;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, ".class"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:goto_0
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
instance-of v0, p1, Ljava/io/Serializable;
if-eqz v0, :cond_4
goto :goto_1
:cond_4
:try_start_0
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:catchall_0
move-exception p1
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
:goto_1
iput-object p1, p0, Lf0/k/f$a;->value:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public a()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lf0/k/f$a;->value:Ljava/lang/Object;
return-object v0
.end method