apkfuckery/com.discord/smali_classes2/rx/a/g$a.smali
2019-02-04 21:20:43 +01:00

156 lines
3.3 KiB
Smali

.class public final Lrx/a/g$a;
.super Ljava/lang/RuntimeException;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/a/g;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lrx/a/g$a$a;
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x2ff0b792f8336acbL
# instance fields
.field final value:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "OnError while emitting onNext value: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
if-nez p1, :cond_0
const-string v1, "null"
goto :goto_0
:cond_0
sget-object v1, Lrx/a/g$a$a;->cni: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
invoke-static {}, Lrx/c/f;->LU()Lrx/c/f;
move-result-object v1
invoke-virtual {v1}, Lrx/c/f;->LV()Lrx/c/b;
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
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
move-exception p1
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
:goto_1
iput-object p1, p0, Lrx/a/g$a;->value:Ljava/lang/Object;
return-void
.end method