apkfuckery/com.discord/smali_classes2/rx/a/b.smali

305 lines
5.8 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lrx/a/b;
.super Ljava/lang/Object;
.source "Exceptions.java"
# direct methods
.method public static I(Ljava/lang/Throwable;)V
.locals 1
instance-of v0, p0, Lrx/a/f;
if-nez v0, :cond_5
instance-of v0, p0, Lrx/a/e;
if-nez v0, :cond_4
instance-of v0, p0, Lrx/a/d;
if-nez v0, :cond_3
instance-of v0, p0, Ljava/lang/VirtualMachineError;
if-nez v0, :cond_2
instance-of v0, p0, Ljava/lang/ThreadDeath;
if-nez v0, :cond_1
instance-of v0, p0, Ljava/lang/LinkageError;
if-nez v0, :cond_0
return-void
:cond_0
check-cast p0, Ljava/lang/LinkageError;
throw p0
:cond_1
check-cast p0, Ljava/lang/ThreadDeath;
throw p0
:cond_2
check-cast p0, Ljava/lang/VirtualMachineError;
throw p0
:cond_3
check-cast p0, Lrx/a/d;
throw p0
:cond_4
check-cast p0, Lrx/a/e;
throw p0
:cond_5
check-cast p0, Lrx/a/f;
throw p0
.end method
.method public static J(Ljava/lang/Throwable;)Ljava/lang/Throwable;
.locals 3
const/4 v0, 0x0
:goto_0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v1
if-eqz v1, :cond_1
add-int/lit8 v1, v0, 0x1
const/16 v2, 0x19
if-lt v0, v2, :cond_0
new-instance p0, Ljava/lang/RuntimeException;
const-string v0, "Stack too deep to get final cause"
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-object p0
:cond_0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p0
move v0, v1
goto :goto_0
:cond_1
return-object p0
.end method
.method public static a(Ljava/lang/Throwable;Lrx/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lrx/e<",
"*>;)V"
}
.end annotation
invoke-static {p0}, Lrx/a/b;->I(Ljava/lang/Throwable;)V
invoke-interface {p1, p0}, Lrx/e;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static a(Ljava/lang/Throwable;Lrx/e;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lrx/e<",
"*>;",
"Ljava/lang/Object;",
")V"
}
.end annotation
invoke-static {p0}, Lrx/a/b;->I(Ljava/lang/Throwable;)V
invoke-static {p0, p2}, Lrx/a/g;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
move-result-object p0
invoke-interface {p1, p0}, Lrx/e;->onError(Ljava/lang/Throwable;)V
return-void
.end method
2019-10-07 23:23:22 +00:00
.method public static af(Ljava/util/List;)V
2019-07-24 11:27:29 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"+",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
if-eqz p0, :cond_3
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-nez v0, :cond_3
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-ne v0, v1, :cond_2
invoke-interface {p0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Throwable;
instance-of v0, p0, Ljava/lang/RuntimeException;
if-nez v0, :cond_1
instance-of v0, p0, Ljava/lang/Error;
if-eqz v0, :cond_0
check-cast p0, Ljava/lang/Error;
throw p0
:cond_0
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
:cond_1
check-cast p0, Ljava/lang/RuntimeException;
throw p0
:cond_2
new-instance v0, Lrx/a/a;
invoke-direct {v0, p0, v2}, Lrx/a/a;-><init>(Ljava/util/Collection;B)V
throw v0
:cond_3
return-void
.end method
.method public static d(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
.locals 1
instance-of v0, p0, Ljava/lang/RuntimeException;
if-nez v0, :cond_1
instance-of v0, p0, Ljava/lang/Error;
if-eqz v0, :cond_0
check-cast p0, Ljava/lang/Error;
throw p0
:cond_0
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
:cond_1
check-cast p0, Ljava/lang/RuntimeException;
throw p0
.end method
.method public static f(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
.locals 4
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
const/4 v1, 0x0
:goto_0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v2
if-eqz v2, :cond_1
add-int/lit8 v2, v1, 0x1
const/16 v3, 0x19
if-lt v1, v3, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
move v1, v2
goto :goto_0
:cond_1
:try_start_0
invoke-virtual {p0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:try_end_0
2019-08-30 20:04:20 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
:catchall_0
2019-07-24 11:27:29 +00:00
return-void
.end method